summaryrefslogtreecommitdiffstats
path: root/skeletons/Makefile.erb
diff options
context:
space:
mode:
Diffstat (limited to 'skeletons/Makefile.erb')
-rw-r--r--skeletons/Makefile.erb16
1 files changed, 16 insertions, 0 deletions
diff --git a/skeletons/Makefile.erb b/skeletons/Makefile.erb
new file mode 100644
index 0000000..6db30f9
--- /dev/null
+++ b/skeletons/Makefile.erb
@@ -0,0 +1,16 @@
+
+
+CC = gcc
+STD = _GNU_SOURCE
+OBJS = A.o test.o B.o
+CFLAGS = -D__TZURTCH__
+BIN = binary
+
+.c.o:
+ $(CC) -c -Wall -I. $(CFLAGS) -D$(STD) $<
+
+all: $(OBJS)
+ $(CC) $(OBJS) -o $(BIN)
+
+clean:
+ rm -f *~ *.o core $(BIN)