mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
edit makefile java no longer rebuilds every time trick is build
This commit is contained in:
parent
9864fe39f7
commit
499f60417a
7
Makefile
7
Makefile
@ -262,15 +262,18 @@ ${TRICK_HOME}/include/mongoose:
|
|||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# 1.3 Build Trick's Java Tools
|
# 1.3 Build Trick's Java Tools
|
||||||
|
|
||||||
|
JAVA_BUILD_DIR = ${TRICK_HOME}/libexec/trick/java/build
|
||||||
|
|
||||||
ifeq (${TRICK_OFFLINE}, 0)
|
ifeq (${TRICK_OFFLINE}, 0)
|
||||||
java:
|
java: ${JAVA_BUILD_DIR}
|
||||||
|
|
||||||
|
${JAVA_BUILD_DIR}:
|
||||||
@ $(MAKE) -C ${TRICK_HOME}/trick_source/java
|
@ $(MAKE) -C ${TRICK_HOME}/trick_source/java
|
||||||
|
|
||||||
.PHONY: javadoc
|
.PHONY: javadoc
|
||||||
javadoc:
|
javadoc:
|
||||||
@ $(MAKE) -C ${TRICK_HOME}/trick_source/java $@
|
@ $(MAKE) -C ${TRICK_HOME}/trick_source/java $@
|
||||||
else
|
else
|
||||||
JAVA_BUILD_DIR = ${TRICK_HOME}/libexec/trick/java/build
|
|
||||||
JAVA_SOURCE_DIR = ${TRICK_HOME}/trick-offline
|
JAVA_SOURCE_DIR = ${TRICK_HOME}/trick-offline
|
||||||
JARS = DP Dre JXPlot MM MTV QP Sie SimControl SimSniffer TrickView trick-java-${TRICK_VERSION}
|
JARS = DP Dre JXPlot MM MTV QP Sie SimControl SimSniffer TrickView trick-java-${TRICK_VERSION}
|
||||||
JAR_TARGETS = $(foreach JAR, $(JARS), ${JAVA_BUILD_DIR}/$(JAR).jar)
|
JAR_TARGETS = $(foreach JAR, $(JARS), ${JAVA_BUILD_DIR}/$(JAR).jar)
|
||||||
|
Loading…
Reference in New Issue
Block a user