X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=8d18f5db503edc3fd6c7b93edbd226aa4305c4c4;hb=083a4fbc4cd98a5a4e7edc94356a416efaa86304;hp=0b6239becaa512f0cb058d48e60aae0f5e44f579;hpb=d4b4ddf25652eec4c1a543eead3d1ba1cd45e66f;p=fleet.git diff --git a/Makefile b/Makefile index 0b6239b..8d18f5d 100644 --- a/Makefile +++ b/Makefile @@ -143,4 +143,15 @@ dist: @echo +# you'll probably want to change this line +ghc = /usr/local/brian/ghc/compiler/ghc-inplace + +ghc += -fglasgow-exts -fallow-undecidable-instances -fallow-overlapping-instances -cpp +ghc += -i$(shell pwd)/build/hi/ -hidir $(shell pwd)/build/hi/ -odir $(shell pwd)/build/class/ + +f0: fleet.jar + mkdir -p build/hi build/class + cd lib; $(ghc) -c -java SBP.lhs + cd src/edu/berkeley/fleet/f0/; $(ghc) -fglasgow-exts -cpp $(hflags) -java Main.lhs + $(java) -cp build/class:lib/HSbase.jar:lib/HSrts.jar:lib/HSstm.jar:fleet.jar Main