X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Makefile;h=e6ccba8eba3546ece75678fc114771c1d3eb9b45;hb=359cf0fa124cd3bc0ffedf8ecee77022970ba562;hp=84775139813292e81e65bf4c2d6fec29dd1b3273;hpb=75ef14887a83273e60e35c2f0e47d099550c9628;p=hs-java.git diff --git a/Makefile b/Makefile index 8477513..e6ccba8 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,19 @@ GHC=ghc --make -fwarn-unused-imports -all: dump-class +all: Hello.class dump-class rebuild-class TestGen + +Hello.class: Hello.java + javac $< dump-class: dump-class.hs */*.hs $(GHC) $< +rebuild-class: rebuild-class.hs */*.hs + $(GHC) $< + +TestGen: TestGen.hs */*.hs + $(GHC) $< + clean: find . -name *.hi -delete find . -name *.o -delete