X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=examples%2FMakefile;h=69da81e0a54f33043326cf838ff8ccd3e5fcfa0a;hb=b0efa668bb881d1c9db4b852b1b9063a2db12b3d;hp=02537764fcd3680dc614a616c4316848c5decab0;hpb=7b141208b4c741de208ec147eff6b2462ce26e80;p=Lucu.git diff --git a/examples/Makefile b/examples/Makefile index 0253776..69da81e 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,14 +1,20 @@ -build: MiseRafturai.hs - ghc --make HelloWorld -threaded -O3 - ghc --make Implanted -threaded -O3 +build: MiseRafturai.hs SmallFile.hs SSL.hs + ghc --make HelloWorld -threaded -O3 -fwarn-unused-imports + ghc --make Implanted -threaded -O3 -fwarn-unused-imports + ghc --make ImplantedSmall -threaded -O3 -fwarn-unused-imports + ghc --make Multipart -threaded -O3 -fwarn-unused-imports + ghc --make SSL -threaded -O3 -fwarn-unused-imports run: build ./HelloWorld clean: - rm -f HelloWorld Implanted MiseRafturai.hs *.hi *.o + rm -f HelloWorld Implanted MiseRafturai.hs ImplantedSmall SmallFile.hs Multipart SSL *.hi *.o MiseRafturai.hs: mise-rafturai.html lucu-implant-file -m MiseRafturai -o $@ $< -.PHONY: build run clean \ No newline at end of file +SmallFile.hs: small-file.txt + lucu-implant-file -m SmallFile -o $@ $< + +.PHONY: build run clean