own parser combinators
[minfp.git] / Makefile
index d95f482..df14afd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 CLM?=clm
-CLMFLAGS?=-nr -pt
+CLMFLAGS?=-nr -aC,-generic_fusion
 CLMLIBS?=-IL Platform
 
 all: minfp
@@ -7,5 +7,10 @@ all: minfp
 %: %.icl
        $(CLM) $(CLMLIBS) $(CLMFLAGS) $* $(OUTPUT_OPTION)
 
+%.prj:
+       cpm project $* create
+       cpm project $@ set -pt
+       cpm project $@ path add "$$CLEAN_HOME/lib/Platform"
+
 clean:
        $(RM) -r "Clean System Files" main