chibi-scheme/Makefile
2009-03-03 21:41:20 +09:00

26 lines
397 B
Makefile

.PHONY: all doc dist clean cleaner test install uninstall
all: chibi-scheme
GC_OBJ=./gc/gc.a
$GC_OBJ: ./gc/alloc.c
cd gc && make test
sexp.o: sexp.c sexp.h config.h
gcc -c -g -Os -o $@ $<
eval.o: eval.c debug.c eval.h sexp.h config.h
gcc -c -g -Os -o $@ $<
chibi-scheme: sexp.o eval.o $(GC_OBJ)
gcc -g -Os -o $@ $^
clean:
rm -f *.o
cleaner: clean
rm -f chibi-scheme
rm -rf *.dSYM