Makefile 296 B

1234567891011121314151617181920212223242526
  1. default: build
  2. all: build
  3. ICED=node_modules/.bin/iced
  4. BUILD_STAMP=build-stamp
  5. TEST_STAMP=test-stamp
  6. %.js: %.iced
  7. $(ICED) -I node -c -o `dirname $@` $<
  8. $(BUILD_STAMP): \
  9. index.js
  10. date > $@
  11. clean:
  12. rm -f index.js
  13. build: $(BUILD_STAMP)
  14. setup:
  15. npm install -d
  16. test:
  17. .PHONY: test setup