QGIS/Makefile
gsherman eb1afe5ecd makefile update
git-svn-id: http://svn.osgeo.org/qgis/trunk@10 c8812cc2-4d05-0410-92ff-de0c093fc19c
2002-07-06 01:01:47 +00:00

41 lines
1.3 KiB
Makefile

#############################################################################
# Makefile for building: qgis
# Generated by qmake (1.02a) on: Fri Jul 5 16:45:36 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: