aboutsummaryrefslogtreecommitdiff
path: root/examples/makefile
diff options
context:
space:
mode:
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)