Files @ 23dfaeaae8f8
Branch filter:

Location: EI/VirtualLeaf/src/TutorialCode/Tutorial0/Makefile

Michael Guravage
The value of QMAKE is taken from the environment - just like MAKE.

--
user: Michael Guravage <michael.guravage@cwi.nl>
branch 'default'
changed src/Makefile
changed src/TutorialCode/Tutorial0/Makefile
changed src/TutorialCode/Tutorial1A/Makefile
changed src/TutorialCode/Tutorial1B/Makefile
changed src/TutorialCode/Tutorial1C/Makefile
changed src/TutorialCode/Tutorial1D/Makefile
changed src/TutorialCode/Tutorial2/Makefile
changed src/TutorialCode/Tutorial3/Makefile
changed src/TutorialCode/Tutorial4/Makefile
changed src/TutorialCode/Tutorial5/Makefile
changed src/build_models/Makefile
# $Id$

# Set an environment varible $(MAKE) to the name of the make command
# on your machine, e.g. 'make' on UNIX and 'mingw32-make' on windows.
# Fallback default is UNIX make.

ifeq ($(MAKE),)
	MAKE=make
endif

# Ditto for QMAKE
ifeq ($(QMAKE),)
	QMAKE=qmake
endif

all: tutorial0

tutorial0: Makefile.tutorial0
	$(MAKE) -f Makefile.tutorial0

Makefile.tutorial0: tutorial0.pro
	$(QMAKE) -makefile -o $@ $< 

clean:
	$(MAKE) -f Makefile.tutorial0 clean
ifeq ($(MAKE),make)
	touch tutorial0.pro
else
	copy /b tutorial0.pro +,,
endif

# finis