9 IMPLANT ?= ../dist/build/lucu-implant-file/lucu-implant-file
14 -ghc -Wall --make $@ -threaded -O3 -idist -odir dist -hidir dist
17 ghc -Wall --make $@ -threaded -O3 -idist -odir dist -hidir dist
23 rm -rf $(TARGETS) dist
25 Implanted.hs: dist/MiseRafturai.hs
26 dist/MiseRafturai.hs: mise-rafturai.html $(IMPLANT)
28 $(IMPLANT) -m MiseRafturai -o $@ $< || (rm -f $@; exit 1)
30 ImplantedSmall.hs: dist/SmallFile.hs
31 dist/SmallFile.hs: small-file.txt $(IMPLANT)
33 $(IMPLANT) -m SmallFile -t "text/plain; charset=\"UTF-8\"" -o $@ $< || (rm -f $@; exit 1)
35 .PHONY: build run clean