]> gitweb @ CieloNegro.org - Lucu.git/blob - examples/Makefile
Changes from 0.4 to 0.4.1
[Lucu.git] / examples / Makefile
1 TARGETS = \
2         HelloWorld \
3         MiseRafturai \
4         Implanted \
5         ImplantedSmall \
6         Multipart \
7         SSL \
8         StaticDir \
9         $(NULL)
10
11 build: $(TARGETS)
12
13 %: %.hs
14         ghc --make $@ -threaded -O3 -fwarn-unused-imports
15
16 run: build
17         ./HelloWorld
18
19 clean:
20         rm -f $(TARGETS) *.hi *.o
21
22 MiseRafturai.hs: mise-rafturai.html
23         lucu-implant-file -m MiseRafturai -o $@ $<
24
25 SmallFile.hs: small-file.txt
26         lucu-implant-file -m SmallFile -o $@ $<
27
28 .PHONY: build run clean