Add amalgamation generation script

This commit is contained in:
Luchs
2015-04-16 14:45:22 +02:00
parent 4dad9cd688
commit 9bcf31e14d
2 changed files with 33 additions and 0 deletions
+5
View File
@@ -53,4 +53,9 @@ watchdocs:
gh-pages: docs
@ cp -r build/docs/. build/gh-pages
# Build amalgamation of all Wren library files.
wren.c: src/include/wren.h src/vm/*.h src/vm/*.c
./script/generate_amalgamation.py $^ > $@
.DELETE_ON_ERROR: wren.c
.PHONY: debug release all clean test builtin docs watchdocs gh-pages