pluotsorbet/Makefile

35 строки
667 B
Makefile
Исходник Обычный вид История

2014-07-16 03:04:32 +04:00
SRC = zipfile.js \
util.js \
gLong.js \
classfile/reader.js \
classfile/accessflags.js \
classfile/attributetypes.js \
classfile/classfile.js \
classfile/signature.js \
classfile/tags.js \
classinfo.js \
arraytypes.js \
signature.js \
opcodes.js \
classes.js \
native.js \
frame.js \
thread.js \
threads.js \
jvm.js \
main.js
2014-07-16 03:49:00 +04:00
TESTS_SRC = $(shell ls tests/*.java)
TESTS_BIN = $(TESTS_SRC:.java=.class)
tests: $(TESTS_BIN)
%.class: %.java
javac -classpath java/cldc1.1.1.jar $<
2014-07-16 03:04:32 +04:00
j2me.js: $(SRC)
cat $^ > $@
2014-07-13 01:07:11 +04:00
clean:
2014-07-16 03:04:32 +04:00
rm -f j2me.js `find . -name "*~"`