]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - examples/Makefile
Added an example of lucu-implant-file.
[Lucu.git] / examples / Makefile
index e1c2c5aecc6979afd98f191bc126b3b19462e6bf..02537764fcd3680dc614a616c4316848c5decab0 100644 (file)
@@ -1,10 +1,14 @@
-build:
-       ghc --make HelloWorld -threaded -fglasgow-exts -O3
+build: MiseRafturai.hs
+       ghc --make HelloWorld -threaded -O3
+       ghc --make Implanted -threaded -O3
 
 run: build
        ./HelloWorld
 
 clean:
-       rm -f HelloWorld *.hi *.o
+       rm -f HelloWorld Implanted MiseRafturai.hs *.hi *.o
+
+MiseRafturai.hs: mise-rafturai.html
+       lucu-implant-file -m MiseRafturai -o $@ $<
 
 .PHONY: build run clean
\ No newline at end of file