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