aboutsummaryrefslogtreecommitdiff
path: root/examples/makefile
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-10-16 18:37:32 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-10-16 18:37:32 +0300
commita5ec437e91f90f25711c7e1b47b8238fdae6b103 (patch)
tree3d553a313c7facabccb23e829517540061b52759 /examples/makefile
parent75eb52872d4c19eb7988e33f173f2763322ae8ff (diff)
downloadmagi-a5ec437e91f90f25711c7e1b47b8238fdae6b103.tar
magi-a5ec437e91f90f25711c7e1b47b8238fdae6b103.tar.xz
magi-a5ec437e91f90f25711c7e1b47b8238fdae6b103.zip
[magi] Cosmetic fixes.
Diffstat (limited to 'examples/makefile')
-rw-r--r--examples/makefile24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/makefile b/examples/makefile
deleted file mode 100644
index e3205aa..0000000
--- a/examples/makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# Uncomment following to enable debug mode:
-# DEBUG = yes
-
-CC = gcc
-EXAMPLES = append cookie upload echo
-
-CFLAGS = -xc -ansi -pedantic -Wall
-ifeq '$(DEBUG)' 'yes'
-CFLAGS += -g -O0
-else
-CFLAGS += -O3
-endif
-
-INCLUDE = -I ../src
-LFLAGS = -L.. -lmagi
-
-
-default: $(EXAMPLES)
-
-%: %.c
- $(CC) $(CFLAGS) $(INCLUDE) $< $(LFLAGS) -o $@
-
-clean:
- rm -f $(EXAMPLES)