Makefile 347 B

12345678910111213141516171819202122232425
  1. ICED=node_modules/.bin/iced
  2. BROWSERIFY=node_modules/.bin/browserify
  3. BUILD_STAMP=build-stamp
  4. WD=`pwd`
  5. lib/%.js: src/%.iced
  6. $(ICED) -I none -c -o lib $<
  7. $(BUILD_STAMP): \
  8. lib/index.js \
  9. lib/list.js
  10. date > $@
  11. build: $(BUILD_STAMP)
  12. clean:
  13. rm -f lib/*.js $(BUILD_STAMP)
  14. default: build
  15. all: build
  16. setup:
  17. npm install -d
  18. .PHONY: clean setup