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