]> gitweb @ CieloNegro.org - Lucu.git/blob - examples/Makefile
Added new example.
[Lucu.git] / examples / Makefile
1 build: MiseRafturai.hs SmallFile.hs
2         ghc --make HelloWorld -threaded -O3 -fwarn-unused-imports
3         ghc --make Implanted -threaded -O3 -fwarn-unused-imports
4         ghc --make ImplantedSmall -threaded -O3 -fwarn-unused-imports
5
6 run: build
7         ./HelloWorld
8
9 clean:
10         rm -f HelloWorld Implanted MiseRafturai.hs ImplantedSmall SmallFile.hs *.hi *.o
11
12 MiseRafturai.hs: mise-rafturai.html
13         lucu-implant-file -m MiseRafturai -o $@ $<
14
15 SmallFile.hs: small-file.txt
16         lucu-implant-file -m SmallFile -o $@ $<
17
18 .PHONY: build run clean