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

  1. #############################################################################
  2. # Makefile for building: checklists
  3. # Generated by qmake on: Wed Oct 31 19:35:57 2001
  4. # Project:  checklists.pro
  5. # Template: app
  6. # Command: $(QMAKE) checklists.pro
  7. #############################################################################
  8.  
  9. ####### Compiler, tools and options
  10.  
  11. CC       = gcc
  12. CXX      = g++
  13. LEX      = flex
  14. YACC     = yacc
  15. CFLAGS   = -pipe -DOS2 -Zmtd -D__ST_MT_ERRNO_ -Zomf -fno-exceptions -Wall -W -O2 -DQT_NO_DEBUG
  16. CXXFLAGS = -pipe -DOS2 -Zmtd -D__ST_MT_ERRNO_ -Zomf -fno-exceptions -Wall -W -O2 -DQT_NO_DEBUG
  17. LEXFLAGS = 
  18. YACCFLAGS= -d
  19. INCPATH  = -IF:/XFree86/include -I$(QTDIR)/include -I.moc/release/ -IG:/qtrel/mkspecs/emx-gcc
  20. LINK     = g++
  21. LFLAGS   = -Zomf -Zcrtdll -Zexe -Zmtd -fno-exceptions
  22. LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -LF:/XFree86/lib -lqt -lICE -lSM -ldl -lXext -lX11 -lm
  23. AR       = ar cqs
  24. RANLIB   = 
  25. MOC      = $(QTDIR)/bin/moc
  26. UIC      = $(QTDIR)/bin/uic
  27. QMAKE    = qmake
  28. TAR      = tar -cf
  29. GZIP     = gzip -9f
  30. COPY     = cp -f
  31. COPY_FILE= $(COPY) -p
  32. COPY_DIR = $(COPY) -pR
  33. DEL      = rm -f
  34. MOVE     = mv
  35.  
  36. ####### Output directory
  37.  
  38. OBJECTS_DIR = .obj/release/
  39.  
  40. ####### Files
  41.  
  42. HEADERS = checklists.h
  43. SOURCES = checklists.cpp \
  44.         main.cpp
  45. OBJECTS = .obj/release/checklists.o \
  46.         .obj/release/main.o
  47. FORMS = 
  48. UICDECLS = 
  49. UICIMPLS = 
  50. SRCMOC   = .moc/release/moc_checklists.cpp
  51. OBJMOC = .obj/release/moc_checklists.o
  52. DIST       = 
  53. QMAKE_TARGET = checklists
  54. DESTDIR  = 
  55. TARGET   = checklists
  56.  
  57. first: all
  58. ####### Implicit rules
  59.  
  60. .SUFFIXES: .cpp .cxx .cc .C .c
  61.  
  62. .cpp.o:
  63.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  64.  
  65. .cxx.o:
  66.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  67.  
  68. .cc.o:
  69.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  70.  
  71. .C.o:
  72.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  73.  
  74. .c.o:
  75.     $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  76.  
  77. ####### Build rules
  78.  
  79. all: Makefile $(TARGET)
  80.  
  81. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
  82.     $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  83.  
  84. mocables: $(SRCMOC)
  85.  
  86. $(MOC): 
  87.     ( cd $(QTDIR)/src/moc ; $(MAKE) )
  88.  
  89. Makefile: checklists.pro ../../.qmake.cache 
  90.     $(QMAKE) checklists.pro
  91. qmake: 
  92.     @$(QMAKE) checklists.pro
  93.  
  94. dist: 
  95.     @mkdir -p .obj/release/checklists && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/checklists/ && ( cd `dirname .obj/release/checklists` && $(TAR) checklists.tar checklists && $(GZIP) checklists.tar ) && mv `dirname .obj/release/checklists`/checklists.tar.gz . && rm -rf .obj/release/checklists
  96.  
  97. mocclean:
  98.     -rm -f $(OBJMOC)
  99.     -rm -f $(SRCMOC)
  100.  
  101. uiclean:
  102.  
  103. clean: mocclean
  104.     -rm -f $(OBJECTS) 
  105.     -rm -f *~ core *.core
  106.  
  107.  
  108. ####### Sub-libraries
  109.  
  110. distclean: clean
  111.     -rm -f $(TARGET) $(TARGET)
  112.     
  113.  
  114. ####### Compile
  115.  
  116. .obj/release/checklists.o: checklists.cpp checklists.h \
  117.         ../../include/qlistview.h \
  118.         ../../include/qvbox.h \
  119.         ../../include/qlabel.h \
  120.         ../../include/qvaluelist.h \
  121.         ../../include/qstring.h \
  122.         ../../include/qpushbutton.h \
  123.         ../../include/qlayout.h \
  124.         ../../include/qwidget.h \
  125.         ../../include/qwindowdefs.h \
  126.         ../../include/qobject.h \
  127.         ../../include/qpaintdevice.h \
  128.         ../../include/qpalette.h \
  129.         ../../include/qfont.h \
  130.         ../../include/qfontmetrics.h \
  131.         ../../include/qfontinfo.h \
  132.         ../../include/qsizepolicy.h \
  133.         ../../include/qobjectdefs.h \
  134.         ../../include/qnamespace.h \
  135.         ../../include/qglobal.h \
  136.         ../../include/qconfig-minimal.h \
  137.         ../../include/qconfig-small.h \
  138.         ../../include/qconfig-medium.h \
  139.         ../../include/qconfig-large.h \
  140.         ../../include/qconfig.h \
  141.         ../../include/qmodules.h \
  142.         ../../include/qfeatures.h \
  143.         ../../include/qcstring.h \
  144.         ../../include/qmemarray.h \
  145.         ../../include/qgarray.h \
  146.         ../../include/qshared.h \
  147.         ../../include/qevent.h \
  148.         ../../include/qregion.h \
  149.         ../../include/qmime.h \
  150.         ../../include/qpair.h \
  151.         ../../include/qrect.h \
  152.         ../../include/qsize.h \
  153.         ../../include/qpoint.h \
  154.         ../../include/qmap.h \
  155.         ../../include/qptrlist.h \
  156.         ../../include/qdatastream.h \
  157.         ../../include/qtl.h \
  158.         ../../include/qiodevice.h \
  159.         ../../include/qtextstream.h \
  160.         ../../include/qglist.h \
  161.         ../../include/qptrcollection.h \
  162.         ../../include/qcolor.h \
  163.         ../../include/qbrush.h \
  164.         ../../include/qscrollview.h \
  165.         ../../include/qframe.h \
  166.         ../../include/qscrollbar.h \
  167.         ../../include/qrangecontrol.h \
  168.         ../../include/qhbox.h \
  169.         ../../include/qbutton.h \
  170.         ../../include/qiconset.h \
  171.         ../../include/qkeysequence.h \
  172.         ../../include/qpixmap.h
  173.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/checklists.o checklists.cpp
  174.  
  175. .obj/release/main.o: main.cpp checklists.h \
  176.         ../../include/qapplication.h \
  177.         ../../include/qwidget.h \
  178.         ../../include/qwindowdefs.h \
  179.         ../../include/qobject.h \
  180.         ../../include/qpaintdevice.h \
  181.         ../../include/qpalette.h \
  182.         ../../include/qfont.h \
  183.         ../../include/qfontmetrics.h \
  184.         ../../include/qfontinfo.h \
  185.         ../../include/qsizepolicy.h \
  186.         ../../include/qobjectdefs.h \
  187.         ../../include/qstring.h \
  188.         ../../include/qnamespace.h \
  189.         ../../include/qglobal.h \
  190.         ../../include/qconfig-minimal.h \
  191.         ../../include/qconfig-small.h \
  192.         ../../include/qconfig-medium.h \
  193.         ../../include/qconfig-large.h \
  194.         ../../include/qconfig.h \
  195.         ../../include/qmodules.h \
  196.         ../../include/qfeatures.h \
  197.         ../../include/qcstring.h \
  198.         ../../include/qmemarray.h \
  199.         ../../include/qgarray.h \
  200.         ../../include/qshared.h \
  201.         ../../include/qevent.h \
  202.         ../../include/qregion.h \
  203.         ../../include/qmime.h \
  204.         ../../include/qpair.h \
  205.         ../../include/qrect.h \
  206.         ../../include/qsize.h \
  207.         ../../include/qpoint.h \
  208.         ../../include/qmap.h \
  209.         ../../include/qptrlist.h \
  210.         ../../include/qdatastream.h \
  211.         ../../include/qtl.h \
  212.         ../../include/qiodevice.h \
  213.         ../../include/qtextstream.h \
  214.         ../../include/qglist.h \
  215.         ../../include/qptrcollection.h \
  216.         ../../include/qcolor.h \
  217.         ../../include/qbrush.h \
  218.         ../../include/qdesktopwidget.h \
  219.         ../../include/qasciidict.h \
  220.         ../../include/qtranslator.h \
  221.         ../../include/qstrlist.h \
  222.         ../../include/qstringlist.h \
  223.         ../../include/quuid.h \
  224.         ../../include/qgdict.h \
  225.         ../../include/qvaluelist.h
  226.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/main.o main.cpp
  227.  
  228. .obj/release/moc_checklists.o: .moc/release/moc_checklists.cpp checklists.h ../../include/qwidget.h \
  229.         ../../include/qwindowdefs.h \
  230.         ../../include/qobject.h \
  231.         ../../include/qpaintdevice.h \
  232.         ../../include/qpalette.h \
  233.         ../../include/qfont.h \
  234.         ../../include/qfontmetrics.h \
  235.         ../../include/qfontinfo.h \
  236.         ../../include/qsizepolicy.h \
  237.         ../../include/qobjectdefs.h \
  238.         ../../include/qstring.h \
  239.         ../../include/qnamespace.h \
  240.         ../../include/qglobal.h \
  241.         ../../include/qconfig-minimal.h \
  242.         ../../include/qconfig-small.h \
  243.         ../../include/qconfig-medium.h \
  244.         ../../include/qconfig-large.h \
  245.         ../../include/qconfig.h \
  246.         ../../include/qmodules.h \
  247.         ../../include/qfeatures.h \
  248.         ../../include/qcstring.h \
  249.         ../../include/qmemarray.h \
  250.         ../../include/qgarray.h \
  251.         ../../include/qshared.h \
  252.         ../../include/qevent.h \
  253.         ../../include/qregion.h \
  254.         ../../include/qmime.h \
  255.         ../../include/qpair.h \
  256.         ../../include/qrect.h \
  257.         ../../include/qsize.h \
  258.         ../../include/qpoint.h \
  259.         ../../include/qmap.h \
  260.         ../../include/qptrlist.h \
  261.         ../../include/qdatastream.h \
  262.         ../../include/qtl.h \
  263.         ../../include/qiodevice.h \
  264.         ../../include/qtextstream.h \
  265.         ../../include/qglist.h \
  266.         ../../include/qptrcollection.h \
  267.         ../../include/qcolor.h \
  268.         ../../include/qbrush.h
  269.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_checklists.o .moc/release/moc_checklists.cpp
  270.  
  271. .moc/release/moc_checklists.cpp: $(MOC) checklists.h
  272.     $(MOC) checklists.h -o .moc/release/moc_checklists.cpp
  273.  
  274. ####### Install
  275.  
  276. install: all 
  277.  
  278.