-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
+TARGETS = \
+ HelloWorld \
+ MiseRafturai \
+ Implanted \
+ ImplantedSmall \
+ Multipart \
+ SSL \
+ StaticDir \
+ $(NULL)
+
+build: $(TARGETS)
+
+%: %.hs
+ ghc --make $@ -threaded -O3 -fwarn-unused-imports
run: build
./HelloWorld
clean:
- rm -f HelloWorld Implanted MiseRafturai.hs ImplantedSmall SmallFile.hs Multipart SSL *.hi *.o
+ rm -f $(TARGETS) *.hi *.o
MiseRafturai.hs: mise-rafturai.html
lucu-implant-file -m MiseRafturai -o $@ $<