From 19f9f1801a44c22aa98af7e990eecf967eb756c8 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 24 Feb 2017 16:48:55 -0500 Subject: [PATCH] Added `make doc` --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d544c5b0..e2610cf7 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ example : clean : rm -rf test.txt a.out *.o *.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 cd $(EXAMPLE_DIR) ; make clean - rm -rf tests/*.o tests/*.c + rm -rf html tests/*.o tests/*.c install : libs install-libs install-includes install-bin $(MKDIR) $(DESTDIR)$(DATADIR) @@ -103,9 +103,12 @@ sld : debug : sudo ls; cyclone scheme/cyclone/cgen.sld && sudo cp scheme/cyclone/cgen.* /usr/local/share/cyclone/scheme/cyclone/ && cyclone cyclone.scm && sudo make install-includes && sudo make install-libs && ./cyclone generate-c.scm +doc : + doxygen Doxyfile + # Helper rules (of interest to people hacking on this makefile) -.PHONY: clean bootstrap tags indent debug test +.PHONY: clean bootstrap tags indent debug test doc $(TESTS) : %: %.scm $(CYCLONE) -I . $<