# wikme PREFIX = /usr/bin CSC = csc -R r7rs NAME = wikme PROG = $(NAME).scm SOURCE = $(NAME).ss LIB = $(NAME).sld OBJ = $(NAME)-lib.o $(NAME): $(PROG) $(OBJ) $(CSC) -o $@ $(OBJ) -uses $(NAME) $(PROG) $(OBJ): $(LIB) $(CSC) -c -J $(LIB) -unit $(NAME) -o $@ $(LIB): $(SOURCE) .PHONY: install test clean install: $(NAME) install -Dt $(DESTDIR)$(PREFIX)/$@ $(NAME) test: # TODO clean: rm -f *.import.scm *.so *.o