X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mate.git;a=blobdiff_plain;f=Makefile;h=f05bf977c067f0c1dd97cd141509876cd4433335;hp=04685026df52dccae37e8038c26ef96ad9c5c21a;hb=e86237a8a051d37d42be21d469c36aacf8a86e8f;hpb=9c9a4d2b3c41546fc7995b106181ef4f987f4281 diff --git a/Makefile b/Makefile index 0468502..f05bf97 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,8 @@ clean: rm -rf $(BUILD) mate mate.static mate.dbg ffi/native.o \ tests/*.class Mate/*_stub.* \ jmate/lang/*.class jmate/io/*.class java/io/*.class \ - java/lang/{Integer,Character,String,System}.class + java/lang/{Integer,Character,String,System}.class \ + scratch/*.class ghci: mate.static ghci -I. $(PACKAGES) -outputdir $(B_STATIC) Mate.hs $(GHC_CPP) @@ -107,3 +108,8 @@ hlint: @# ignore error code from hlint -hlint Mate.hs Mate/ @mv debug_tmp.h debug.h + +scratch: mate $(wildcard jmate/lang/*.java) scratch/GCTest.java + javac $(wildcard jmate/lang/*.java) + javac scratch/GCTest.java + ./mate scratch.GCTest