From 499f60417a51cac20185c018ea3e9552d030000f Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Wed, 12 Feb 2020 12:38:34 -0600 Subject: [PATCH] edit makefile java no longer rebuilds every time trick is build --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 012353b2..4139bc03 100644 --- a/Makefile +++ b/Makefile @@ -262,15 +262,18 @@ ${TRICK_HOME}/include/mongoose: #------------------------------------------------------------------------------- # 1.3 Build Trick's Java Tools +JAVA_BUILD_DIR = ${TRICK_HOME}/libexec/trick/java/build + ifeq (${TRICK_OFFLINE}, 0) -java: +java: ${JAVA_BUILD_DIR} + +${JAVA_BUILD_DIR}: @ $(MAKE) -C ${TRICK_HOME}/trick_source/java .PHONY: javadoc javadoc: @ $(MAKE) -C ${TRICK_HOME}/trick_source/java $@ else -JAVA_BUILD_DIR = ${TRICK_HOME}/libexec/trick/java/build JAVA_SOURCE_DIR = ${TRICK_HOME}/trick-offline 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)