X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=examples%2FMakefile;h=2727e6404854808c9a8c1ca4013121b2d7705a30;hp=02537764fcd3680dc614a616c4316848c5decab0;hb=ea8f823ffa1004582d403c69f52a83e20486269f;hpb=8515a693765cbd640b669c563fe7e1a34a98acde diff --git a/examples/Makefile b/examples/Makefile index 0253776..2727e64 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,14 +1,18 @@ -build: MiseRafturai.hs - ghc --make HelloWorld -threaded -O3 - ghc --make Implanted -threaded -O3 +build: MiseRafturai.hs SmallFile.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 run: build ./HelloWorld clean: - rm -f HelloWorld Implanted MiseRafturai.hs *.hi *.o + rm -f HelloWorld Implanted MiseRafturai.hs ImplantedSmall SmallFile.hs *.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