diff options
| author | aarne <aarne@chalmers.se> | 2009-12-09 09:47:16 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2009-12-09 09:47:16 +0000 |
| commit | c8ceed08efcc0bdc1fcbd89bce643d9f52f0991b (patch) | |
| tree | 5f0b314341c129eba1bc67b8b887fb8a4486fad8 /deprecated/old-lib/c/Makefile | |
| parent | 101df06f6c8380328d4266adadac3ab6d1bac0b3 (diff) | |
moving a few things to deprecated
Diffstat (limited to 'deprecated/old-lib/c/Makefile')
| -rw-r--r-- | deprecated/old-lib/c/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/deprecated/old-lib/c/Makefile b/deprecated/old-lib/c/Makefile new file mode 100644 index 000000000..72ac7ea79 --- /dev/null +++ b/deprecated/old-lib/c/Makefile @@ -0,0 +1,19 @@ +CC = gcc +CFLAGS += -O2 -W -Wall + +.PHONY: all clean + +all: libgfcc.a + +libgfcc.a: gfcc-tree.o gfcc-term.o + ar r $@ $^ + +gfcc-tree.o: gfcc-tree.c gfcc-tree.h + $(CC) $(CFLAGS) -c -o $@ $< + +gfcc-term.o: gfcc-term.c gfcc-term.h + $(CC) $(CFLAGS) -c -o $@ $< + +clean: + -rm -f libgfcc.a + -rm -f *.o |
