cyclone/examples/call-scm-from-c/Makefile
Justin Ethier 67b5e4ee8e Clean up examples
Use code from runtime instead of inline here
Added comments as needed, etc
2020-08-14 16:48:59 -04:00

17 lines
337 B
Makefile

all: basic-no-gc full-with-gc
basic.o: basic.c
cc -c basic.c
basic-no-gc: basic-no-gc.scm basic.o
cyclone -COBJ "basic.o" basic-no-gc.scm
full.o: full.c
cc -c full.c
full-with-gc: full-with-gc.scm full.o
cyclone -COBJ full.o full-with-gc.scm
.PHONY: clean
clean:
rm -f *.o basic-no-gc.c basic-no-gc full-with-gc.c full-with-gc