Commit 0fdb2b1c authored by Götz Lindenmaier's avatar Götz Lindenmaier
Browse files

Added target for .java files

[r820]
parent f1b9fb1a
......@@ -27,6 +27,7 @@ SHELL_TOLOWER = awk '{for (i=1;i<(NF+1);i=i+1) {printf(tolower(substr($$i,1,1))
OFILES = $(MEMBERS:.m=.o)
HFILES = $(MEMBERS:.m=.h)
JAVAFILES = $(MEMBERS:.m=.java)
CLASSFILES = $(MEMBERS:.m=.class)
CPPFLAGS = -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/common \
......@@ -69,9 +70,10 @@ SOURCE_DIR=sources
REMOVE_CPP_COMMANDS=$(FIRM_JNI_TOOLS_DIR)/remove_cpp_comands.perl
CRECODER=$(FIRM_JNI_TOOLS_DIR)/crecoder.jar
all: classfiles jni
all: classfiles javafiles jni
classfiles: $(CLASSFILES)
javafiles: $(JAVAFILES)
%.class: %.java
javac $<
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment