apple2js/js/ui/Makefile

20 lines
347 B
Makefile
Raw Normal View History

JSLINT = jshint
2014-03-06 04:04:54 +00:00
JSFILES = copyright.js audio.js keyboard2.js gamepad.js printer.js
2014-03-06 04:04:54 +00:00
JSFILES2E = copyright.js audio.js keyboard2e.js gamepad.js printer.js
ALLJS = ${JSFILES} ${JSFILES2E}
CHECKEDJS := $(patsubst %.js,.checked-%.js,${ALLJS})
2013-11-16 20:38:18 +00:00
default:
clean:
2013-11-16 20:38:18 +00:00
$(RM) -f .checked-*
lint: $(CHECKEDJS)
.checked-%.js: %.js
$(JSLINT) $<
@touch $@