1
0
forked from GitHub/gf-rgl

Added gfcc2c to GF repo.

This commit is contained in:
bringert
2006-12-22 13:43:32 +00:00
parent 8330e3f0bd
commit ab38ad8671
5 changed files with 397 additions and 0 deletions

19
c/Makefile Normal file
View File

@@ -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