1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# wikme PREFIX = /usr/bin CSC = csc -I$(PWD) OBJ = wikme.scm.o wikme: main.scm $(OBJ) $(CSC) -o $@ $(OBJ) -uses wikme main.scm $(OBJ): wikme.scm wikme-impl.scm $(CSC) -c -J wikme.scm -unit wikme -o $@ .PHONY: install clean install: wikme install -Dt $(DESTDIR)$(PREFIX)/$@ $< clean: rm -f *.import.scm *.so *.o