Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(0.24.0) Add new make target for building java preprocessor #11663

Merged
merged 1 commit into from
Jan 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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