From faa9638300c1969c1d824bb55d516daf385da84f Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 14 Apr 2016 22:24:35 -0400 Subject: [PATCH] Added 'examples' directive --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 0cf7ce8d..2002d7ff 100644 --- a/Makefile +++ b/Makefile @@ -110,6 +110,9 @@ bootstrap: icyc cp cyclone.c $(BOOTSTRAP_DIR)/cyclone.c cp Makefile.config $(BOOTSTRAP_DIR)/Makefile.config +.PHONY: examples +examples: + cd examples ; make .PHONY: test test: $(TESTFILES) $(CYCLONE) @@ -123,6 +126,7 @@ tags: clean: rm -rf a.out *.o *.so *.a *.out tags cyclone icyc scheme/*.o scheme/*.c scheme/*.meta srfi/*.c srfi/*.meta srfi/*.o scheme/cyclone/*.o scheme/cyclone/*.c scheme/cyclone/*.meta cyclone.c dispatch.c icyc.c generate-c.c generate-c $(foreach f,$(TESTSCM), rm -rf $(f) $(f).c tests/$(f).c;) + cd examples ; make clean install-includes: $(MKDIR) $(DESTDIR)$(INCDIR)