2011-07-19 14:05:08 +01:00
|
|
|
all: ids
|
|
|
|
|
|
|
|
ids:
|
|
|
|
cd webserver && python app.py
|
|
|
|
|
|
|
|
preprocess:
|
|
|
|
mkdir -p build
|
2011-07-19 15:17:34 +01:00
|
|
|
/usr/bin/cpp -P -undef -CC -Wundef -std=c99 -nostdinc -Wtrigraphs -fdollars-in-identifiers src/main.js build/pp_jvm.js
|
2011-07-19 14:05:08 +01:00
|
|
|
|
|
|
|
compile: preprocess
|
2011-07-19 15:17:34 +01:00
|
|
|
java -jar lib/compiler.jar --warning_level VERBOSE --compilation_level ADVANCED_OPTIMIZATIONS --js build/pp_jvm.js --js_output_file build/jvm.js
|
2011-07-19 14:05:08 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -dR build
|
|
|
|
|