diff --git a/src/build_models/Makefile b/src/build_models/Makefile --- a/src/build_models/Makefile +++ b/src/build_models/Makefile @@ -2,32 +2,37 @@ QMAKE = qmake +# Set $(MAKE) to the name of the make command on your machine, e.g. 'make' on Linux and 'mingw32-make' on windows. +MAKE = make # mingw32-make + all: plugin_auxingrowth plugin_meinhardt plugin_test plugin_auxingrowth: Makefile.plugin_auxingrowth - make -f Makefile.plugin_auxingrowth + $(MAKE) -f Makefile.plugin_auxingrowth Makefile.plugin_auxingrowth: plugin_auxingrowth.pro $(QMAKE) -makefile -o $@ $< plugin_meinhardt: Makefile.plugin_meinhardt - make -f Makefile.plugin_meinhardt + $(MAKE) -f Makefile.plugin_meinhardt Makefile.plugin_meinhardt: plugin_meinhardt.pro $(QMAKE) -makefile -o $@ $< plugin_test: Makefile.plugin_test - make -f Makefile.plugin_test + $(MAKE) -f Makefile.plugin_test Makefile.plugin_test: plugin_test.pro $(QMAKE) -makefile -o $@ $< clean: - make -f Makefile.plugin_auxingrowth clean - make -f Makefile.plugin_meinhardt clean - make -f Makefile.plugin_test clean + $(MAKE) -f Makefile.plugin_auxingrowth clean + $(MAKE) -f Makefile.plugin_meinhardt clean + $(MAKE) -f Makefile.plugin_test clean +ifeq ($(MAKE),make) touch plugin_auxingrowth.pro touch plugin_meinhardt.pro touch plugin_test.pro +endif #finis