Skip to content

Commit

Permalink
Updated Makefile to work with test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Humphrey committed Mar 9, 2011
1 parent 8f590ab commit 05cfa67
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
Expand Up @@ -11,5 +11,17 @@ VERSION ?= $(error Specify a version for your release (e.g., VERSION=0.5))
check-lint:
${JSSHELL} -m -j -p -e "load('./support/jslint.js'); load('./support/jslint-cmdline.js'); runJslint(read('webgl-2d.js'));"

WEBGL2DJS=webgl-2d.js
TESTS=./test
CANVASTESTS=${TESTS}/philip.html5.org
CANVASTESTSJS=${CANVASTESTS}/tests.js

${CANVASTESTSJS}: ${WEBGL2DJS}
@@cat webgl-2d.js ${CANVASTESTS}/tests-core.js > ${CANVASTESTSJS}
@@echo "Created ${CANVASTESTSJS}"

# Create webgl-2d enabled tests.js
tests: ${CANVASTESTSJS}

clean:
rm -fr ./release
rm ${CANVASTESTSJS}

0 comments on commit 05cfa67

Please sign in to comment.