Skip to content

Commit

Permalink
Merge pull request #11663 from keithc-ca/jpp-0.24.0
Browse files Browse the repository at this point in the history
Add new make target for building java preprocessor
  • Loading branch information
pshipton authored Jan 14, 2021
2 parents 1e1c84e + d551864 commit 3aeef4a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sourcetools/buildj9tools.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (c) 2017, 2017 IBM Corp. and others
# Copyright (c) 2017, 2021 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -62,7 +62,7 @@ JAVAC_FLAGS := -nowarn -source $(SPEC_LEVEL) -target $(SPEC_LEVEL)

JAR_TARGETS :=

.PHONY : all clean default distclean
.PHONY : all clean default distclean preprocessor

default : all

Expand All @@ -74,6 +74,8 @@ clean :
distclean : clean
rm -f $(JAR_TARGETS)

preprocessor : $(DEST_DIR)/jpp.jar

# FindAllFiles
# ------------
# param 1 = the directory to search (recursively)
Expand Down Expand Up @@ -104,7 +106,7 @@ JAR_TARGETS += $$($1_TARGET)

all : $$($1_TARGET)

$(DEST_DIR)/$1.jar : $$($1_SOURCES) $$($1_OTHER_FILES)
$$($1_TARGET) : $$($1_SOURCES) $$($1_OTHER_FILES)
@echo Building $$@
@rm -rf $$($1_WORK_DIR)
@mkdir -p $$($1_WORK_DIR)
Expand Down

0 comments on commit 3aeef4a

Please sign in to comment.