From c8ceed08efcc0bdc1fcbd89bce643d9f52f0991b Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 9 Dec 2009 09:47:16 +0000 Subject: moving a few things to deprecated --- deprecated/old-lib/c/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 deprecated/old-lib/c/Makefile (limited to 'deprecated/old-lib/c/Makefile') 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 -- cgit v1.2.3