]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - examples/Makefile
multipart/form-data and more
[Lucu.git] / examples / Makefile
index 02537764fcd3680dc614a616c4316848c5decab0..5200e84479c35e7a8296d3fb84454a0c01e61991 100644 (file)
@@ -1,14 +1,19 @@
-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
+       ghc --make Multipart -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 *.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