mirror of https://github.com/contiki-ng/mspsim
Compile for Java 11
This commit is contained in:
parent
4e48946494
commit
f127e9aa3e
4
Makefile
4
Makefile
|
|
@ -2,7 +2,7 @@
|
|||
# Makefile for mspsim
|
||||
#
|
||||
# Needed stuff in the PATH:
|
||||
# java, javac (JDK 1.7 or newer)
|
||||
# java, javac (JDK 11 or newer)
|
||||
#
|
||||
# Under MS-DOS/Windows
|
||||
# A GNU compatible Make (for example Cygwin's)
|
||||
|
|
@ -46,7 +46,7 @@ SPACE := ${EMPTY} ${EMPTY}
|
|||
LIBS := ${wildcard lib/*.jar}
|
||||
BUILD := build
|
||||
CLASSPATH=${subst ${SPACE},${SEPARATOR},$(BUILD)/ ${LIBS}}
|
||||
CCARGS=-deprecation -Xlint:unchecked -source 1.7 -target 1.7 -classpath ".${SEPARATOR}${CLASSPATH}" -d $(BUILD)
|
||||
CCARGS=-deprecation -Xlint:unchecked -source 11 -target 11 -classpath ".${SEPARATOR}${CLASSPATH}" -d $(BUILD)
|
||||
|
||||
JAVAARGS=-classpath "${CLASSPATH}"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
<property name="lib" location="lib"/>
|
||||
<property name="jarfile" location="mspsim.jar"/>
|
||||
<property name="javac.debug" value="true"/>
|
||||
<property name="ant.build.javac.source" value="1.7"/>
|
||||
<property name="ant.build.javac.target" value="1.7"/>
|
||||
<property name="ant.build.javac.source" value="11"/>
|
||||
<property name="ant.build.javac.target" value="11"/>
|
||||
<property name="ARGS" value=""/>
|
||||
|
||||
<path id="classpath">
|
||||
|
|
|
|||
Loading…
Reference in New Issue