Skip to content
Newer
Older
100644 17 lines (11 sloc) 500 Bytes
2fb333c @norm2782 Disable optimization flags until foreign exports are fixed
norm2782 authored Oct 25, 2011
1 # FLAGS = -tjscript --dump-core-stages=1 --dump-grin-stages=1 -O1,2 --gen-trace=1 --import-path=../../../uhc-jscript/src
7a1ac47 @norm2782 Add --no-hi-check to makefile
norm2782 authored Oct 27, 2011
2 FLAGS = -tjscript --dump-core-stages=1 --dump-grin-stages=1 --gen-trace=1 --import-path=../../../uhc-jscript/src --no-hi-check
948b787 @norm2782 Modularize makefile infrastructure
norm2782 authored Sep 14, 2011
3
4 ifndef PROJECT
5 PROJECT = $(patsubst %.hs, %, $(wildcard *.hs))
6 endif
7
8 default: $(PROJECT).js
9
e42334c @norm2782 Testing callback in progress
norm2782 authored Nov 8, 2011
10 $(PROJECT).js: $(PROJECT).hs
11 $(UHC) $(PROJECT).hs $(FLAGS)
948b787 @norm2782 Modularize makefile infrastructure
norm2782 authored Sep 14, 2011
12
13 clean:
e42334c @norm2782 Testing callback in progress
norm2782 authored Nov 8, 2011
14 rm *.core* *.full.core *.hi $(PROJECT).js $(PROJECT).html *.mjs
948b787 @norm2782 Modularize makefile infrastructure
norm2782 authored Sep 14, 2011
15
e42334c @norm2782 Testing callback in progress
norm2782 authored Nov 8, 2011
16 .PHONY : clean strip
Something went wrong with that request. Please try again.