home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / fonts / Makefile < prev   
Makefile  |  2001-10-31  |  1KB  |  34 lines

  1. #############################################################################
  2. # Makefile for building: fonts
  3. # Generated by qmake on: Wed Oct 31 19:36:31 2001
  4. # Project:  fonts.pro
  5. # Template: subdirs
  6. # Command: $(QMAKE) fonts.pro
  7. #############################################################################
  8.  
  9. MAKEFILE =    Makefile
  10. QMAKE =    qmake
  11. SUBDIRS =    simple-qfont-demo
  12. SUBTARGETS =     \
  13.         sub-simple-qfont-demo
  14.  
  15. all: Makefile $(SUBTARGETS)
  16.  
  17. sub-simple-qfont-demo: qmake_all FORCE
  18.     cd simple-qfont-demo && $(MAKE)
  19.  
  20.  
  21. Makefile: fonts.pro ../../.qmake.cache 
  22.     $(QMAKE) fonts.pro
  23. qmake: qmake_all
  24.     @$(QMAKE) fonts.pro
  25.  
  26. qmake_all:
  27.     for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; pro=`basename $$i`.pro ; [ ! -f $(MAKEFILE) ] && $(QMAKE) $$pro -o $(MAKEFILE); grep "^qmake_all:$$" $$pro 2>/dev/null >/dev/null && $(MAKE) -f $(MAKEFILE) qmake_all || true; fi; ) ; done
  28.  
  29. distclean install uiclean mocclean clean: FORCE
  30.     for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) $@; fi; ) ; done
  31.  
  32. FORCE:
  33.  
  34.