From 66e6880c3514cf99d3d1efe9c06cbe8a02c4f1b4 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 5 Apr 2019 14:44:47 +0000 Subject: [PATCH] * P2JS can be overridden (build system) --- demo/Makefile | 76 +++++++++++++++++++++++++-------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/demo/Makefile b/demo/Makefile index d58ef92..257361a 100644 --- a/demo/Makefile +++ b/demo/Makefile @@ -14,83 +14,83 @@ COMPILERUNITPATH=$(BASEDIR)/compat;$(BASEDIR)/fcl-json/src;$(BASEDIR)/fcl-passrc endif .PHONY: $(TARGETS) -P2JS=pas2js -Fu../packages/* - +P2JS=pas2js +P2JSOPT=-Fu../packages/\* all: $(TARGETS) info: @echo Available targets: $(TARGETS) democomponents: ./rtl/democomponents.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< demobrowseconsole: ./rtl/demobrowserconsole.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< demoajax: ./rtl/demoajax.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< demoxhr: ./rtl/demoxhr.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< restbridgeclient: ./restbridge/simple/restbridgeclient.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< demowebcompiler: ./webcompiler/demowebcompiler.lpr - $(P2JS) -Sc -TBrowser "-Fu$(COMPILERUNITPATH)" "-Fu$(COMPILERDIR)" $< + $(P2JS) -Sc -TBrowser "-Fu$(COMPILERUNITPATH)" "-Fu$(COMPILERDIR)" $(P2JSOPT) $< fpreportdemo: ./fpreport/reportdemo.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demoprogressbar: ./chartjs/demoprogressbar.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demodate: ./chartjs/demodate.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demoscatter: ./chartjs/demoscatter.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demomixed: ./chartjs/demomixed.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demobar: ./chartjs/demobar.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demoarea: ./chartjs/demoarea.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demobubble: ./chartjs/demobubble.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demopie: ./chartjs/demopie.lpr - $(P2JS) -Sc $< + $(P2JS) -Sc $(P2JSOPT) $< chartjs_demodatalabelling: ./chartjs/demodatalabelling.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demodoughnut: ./chartjs/demodoughnut.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demointeractions: ./chartjs/demointeractions.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demoline: ./chartjs/demoline.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demotime: ./chartjs/demotime.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demoscriptablebubble: ./chartjs/demoscriptablebubble.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demoradar: ./chartjs/demoradar.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_democustompoints: ./chartjs/democustompoints.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< chartjs_demopolararea: ./chartjs/demopolararea.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< promiseall: ./promise/demoall.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< promisestory1: ./promise/story2.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< promisestory2: ./promise/story3.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< promisestory: ./promise/story.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< demodb: ./fcldb/demodb.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< demoload: ./fcldb/demoload.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< demorest: ./fcldb/demorest.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< fpcunitbrowsertest: ./fpcunit/browsertest.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< sampleda: ./dataabstract/sampleda.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< webgl1: ./webgl/project1.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< pdfbasic: ./jspdf/basic.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $< hotreload: ./hotreload/hotreload.lpr - $(P2JS) $< + $(P2JS) $(P2JSOPT) $<