]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - examples/Makefile
It must be a bad idea to expose overlapped orphan instances.
[Lucu.git] / examples / Makefile
index 606117f31f43ffcd6489b0d3370668265979d997..c9a0cb46ba39f1b268ed3fc0067d33098fc50e4d 100644 (file)
@@ -25,11 +25,11 @@ clean:
 Implanted.hs: dist/MiseRafturai.hs
 dist/MiseRafturai.hs: mise-rafturai.html $(IMPLANT)
        mkdir -p dist
-       $(IMPLANT) -m MiseRafturai -o $@ $<
+       $(IMPLANT) -m MiseRafturai -o $@ $< || (rm -f $@; exit 1)
 
 ImplantedSmall.hs: dist/SmallFile.hs
 dist/SmallFile.hs: small-file.txt $(IMPLANT)
        mkdir -p dist
-       $(IMPLANT) -m SmallFile -t "text/plain; charset=\"UTF-8\"" -o $@ $<
+       $(IMPLANT) -m SmallFile -t "text/plain; charset=\"UTF-8\"" -o $@ $< || (rm -f $@; exit 1)
 
 .PHONY: build run clean