From 14d41a6a871f959243288ba5a9b1c8dcc4a40494 Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Mon, 8 Jan 2018 16:05:14 +0100 Subject: [PATCH] added PageCompiler.make --- PageCompiler/PageCompiler.make | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 PageCompiler/PageCompiler.make diff --git a/PageCompiler/PageCompiler.make b/PageCompiler/PageCompiler.make new file mode 100644 index 000000000..a109b320d --- /dev/null +++ b/PageCompiler/PageCompiler.make @@ -0,0 +1,23 @@ +# +# PageCompiler.make +# +# Make include file for PageCompiler executable +# +# This file defines the PAGE_COMPILER make variable +# which can be used to invoke the PageCompiler from +# a Makefile. +# + +ifneq (,$(findstring debug,$(DEFAULT_TARGET) $(MAKECMDGOALS))) +ifneq (,$(findstring static,$(DEFAULT_TARGET) $(MAKECMDGOALS))) +PAGE_COMPILER = $(POCO_BASE)/PageCompiler/$(POCO_HOST_BINDIR)/static/cpspcd +else +PAGE_COMPILER = $(POCO_BASE)/PageCompiler/$(POCO_HOST_BINDIR)/cpspcd +endif +else +ifneq (,$(findstring static,$(DEFAULT_TARGET) $(MAKECMDGOALS))) +PAGE_COMPILER = $(POCO_BASE)/PageCompiler/$(POCO_HOST_BINDIR)/static/cpspc +else +PAGE_COMPILER = $(POCO_BASE)/PageCompiler/$(POCO_HOST_BINDIR)/cpspc +endif +endif