Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 884 Bytes
.PHONY: clean run reactive-banana reactive-banana-wx
.PHONY: GUITest BlackBoard
OBJ=dist/build
COMPILE=ghc --make -outputdir $(OBJ) -i$(OBJ) -L$(OBJ) -isrc
#GUITest : src/GUITest.hs src/GUI.hs
# $(COMPILE) -o $@ $<
# macosx-app $@
BlackBoard : reactive-banana reactive-banana-wx BlackBoard/src/*.hs
cd BlackBoard && $(COMPILE) -o BlackBoard src/BlackBoard.hs \
&& macosx-app BlackBoard
all: BlackBoard reactive-banana reactive-banana-wx
clean:
rm -rf $(APPS) obj/*.o obj/*.hi *.app *.exe *.manifest
run: BlackBoard
open BlackBoard/BlackBoard.app
reactive-banana:
cd reactive-banana && cabal build && cabal register --inplace
reactive-banana-wx: reactive-banana-wx/dist/build/Counter/Counter
reactive-banana-wx/dist/build/Counter/Counter: reactive-banana-wx/src/*.hs reactive-banana-wx/src/Reactive/*.hs
cd reactive-banana-wx && cabal build && cabal register --inplace
Something went wrong with that request. Please try again.