]> gitweb @ CieloNegro.org - Lucu.git/blob - examples/Makefile
multipart/form-data and more
[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         ghc --make Multipart -threaded -O3 -fwarn-unused-imports
6
7 run: build
8         ./HelloWorld
9
10 clean:
11         rm -f HelloWorld Implanted MiseRafturai.hs ImplantedSmall SmallFile.hs Multipart *.hi *.o
12
13 MiseRafturai.hs: mise-rafturai.html
14         lucu-implant-file -m MiseRafturai -o $@ $<
15
16 SmallFile.hs: small-file.txt
17         lucu-implant-file -m SmallFile -o $@ $<
18
19 .PHONY: build run clean