############################################################################# # Makefile for building: qgis # Generated by qmake (1.02a) on: Fri Jul 5 00:35:22 2002 # Project: qgis.pro # Template: subdirs # Command: $(QMAKE) -nocache qgis.pro ############################################################################# MAKEFILE = Makefile QMAKE = qmake SUBDIRS = src SUBTARGETS = \ sub-src first: all all: Makefile $(SUBTARGETS) src/$(MAKEFILE): cd src && $(QMAKE) -nocache -o $(MAKEFILE) sub-src: src/$(MAKEFILE) FORCE cd src && $(MAKE) -f $(MAKEFILE) Makefile: qgis.pro $(QTDIR)/mkspecs/default/qmake.conf $(QMAKE) -nocache qgis.pro qmake: qmake_all @$(QMAKE) -nocache qgis.pro qmake_all: src/$(MAKEFILE) for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; grep "^qmake_all:" $(MAKEFILE) 2>/dev/null >/dev/null && $(MAKE) -f $(MAKEFILE) qmake_all || true; fi; ) ; done clean: qmake_all FORCE for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) clean; fi; ) ; done uninstall install uiclean mocclean: qmake_all FORCE for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) $@; fi; ) ; done distclean: qmake_all FORCE for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) -f $(MAKEFILE) $@ ; rm -f $(MAKEFILE) ; fi; ) ; done FORCE: