home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / life / Makefile < prev    next >
Makefile  |  2001-10-31  |  12KB  |  406 lines

  1. #############################################################################
  2. # Makefile for building: life
  3. # Generated by qmake on: Wed Oct 31 19:36:56 2001
  4. # Project:  life.pro
  5. # Template: app
  6. # Command: $(QMAKE) life.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 = life.h \
  43.         lifedlg.h
  44. SOURCES = life.cpp \
  45.         lifedlg.cpp \
  46.         main.cpp
  47. OBJECTS = .obj/release/life.o \
  48.         .obj/release/lifedlg.o \
  49.         .obj/release/main.o
  50. FORMS = 
  51. UICDECLS = 
  52. UICIMPLS = 
  53. SRCMOC   = .moc/release/moc_life.cpp \
  54.         .moc/release/moc_lifedlg.cpp
  55. OBJMOC = .obj/release/moc_life.o \
  56.         .obj/release/moc_lifedlg.o
  57. DIST       = 
  58. QMAKE_TARGET = life
  59. DESTDIR  = 
  60. TARGET   = life
  61.  
  62. first: all
  63. ####### Implicit rules
  64.  
  65. .SUFFIXES: .cpp .cxx .cc .C .c
  66.  
  67. .cpp.o:
  68.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  69.  
  70. .cxx.o:
  71.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  72.  
  73. .cc.o:
  74.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  75.  
  76. .C.o:
  77.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  78.  
  79. .c.o:
  80.     $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  81.  
  82. ####### Build rules
  83.  
  84. all: Makefile $(TARGET)
  85.  
  86. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
  87.     $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  88.  
  89. mocables: $(SRCMOC)
  90.  
  91. $(MOC): 
  92.     ( cd $(QTDIR)/src/moc ; $(MAKE) )
  93.  
  94. Makefile: life.pro ../../.qmake.cache 
  95.     $(QMAKE) life.pro
  96. qmake: 
  97.     @$(QMAKE) life.pro
  98.  
  99. dist: 
  100.     @mkdir -p .obj/release/life && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/life/ && ( cd `dirname .obj/release/life` && $(TAR) life.tar life && $(GZIP) life.tar ) && mv `dirname .obj/release/life`/life.tar.gz . && rm -rf .obj/release/life
  101.  
  102. mocclean:
  103.     -rm -f $(OBJMOC)
  104.     -rm -f $(SRCMOC)
  105.  
  106. uiclean:
  107.  
  108. clean: mocclean
  109.     -rm -f $(OBJECTS) 
  110.     -rm -f *~ core *.core
  111.  
  112.  
  113. ####### Sub-libraries
  114.  
  115. distclean: clean
  116.     -rm -f $(TARGET) $(TARGET)
  117.     
  118.  
  119. ####### Compile
  120.  
  121. .obj/release/life.o: life.cpp life.h \
  122.         ../../include/qpainter.h \
  123.         ../../include/qdrawutil.h \
  124.         ../../include/qcheckbox.h \
  125.         ../../include/qevent.h \
  126.         ../../include/qapplication.h \
  127.         ../../include/qframe.h \
  128.         ../../include/qwidget.h \
  129.         ../../include/qwindowdefs.h \
  130.         ../../include/qobject.h \
  131.         ../../include/qpaintdevice.h \
  132.         ../../include/qpalette.h \
  133.         ../../include/qfont.h \
  134.         ../../include/qfontmetrics.h \
  135.         ../../include/qfontinfo.h \
  136.         ../../include/qsizepolicy.h \
  137.         ../../include/qobjectdefs.h \
  138.         ../../include/qstring.h \
  139.         ../../include/qnamespace.h \
  140.         ../../include/qglobal.h \
  141.         ../../include/qconfig-minimal.h \
  142.         ../../include/qconfig-small.h \
  143.         ../../include/qconfig-medium.h \
  144.         ../../include/qconfig-large.h \
  145.         ../../include/qconfig.h \
  146.         ../../include/qmodules.h \
  147.         ../../include/qfeatures.h \
  148.         ../../include/qcstring.h \
  149.         ../../include/qmemarray.h \
  150.         ../../include/qgarray.h \
  151.         ../../include/qshared.h \
  152.         ../../include/qregion.h \
  153.         ../../include/qmime.h \
  154.         ../../include/qpair.h \
  155.         ../../include/qrect.h \
  156.         ../../include/qsize.h \
  157.         ../../include/qpoint.h \
  158.         ../../include/qmap.h \
  159.         ../../include/qptrlist.h \
  160.         ../../include/qdatastream.h \
  161.         ../../include/qtl.h \
  162.         ../../include/qiodevice.h \
  163.         ../../include/qtextstream.h \
  164.         ../../include/qglist.h \
  165.         ../../include/qptrcollection.h \
  166.         ../../include/qcolor.h \
  167.         ../../include/qbrush.h \
  168.         ../../include/qpen.h \
  169.         ../../include/qpointarray.h \
  170.         ../../include/qwmatrix.h \
  171.         ../../include/qbutton.h \
  172.         ../../include/qkeysequence.h \
  173.         ../../include/qdesktopwidget.h \
  174.         ../../include/qasciidict.h \
  175.         ../../include/qtranslator.h \
  176.         ../../include/qstrlist.h \
  177.         ../../include/qstringlist.h \
  178.         ../../include/quuid.h \
  179.         ../../include/qgdict.h \
  180.         ../../include/qvaluelist.h
  181.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/life.o life.cpp
  182.  
  183. .obj/release/lifedlg.o: lifedlg.cpp lifedlg.h \
  184.         ../../include/qapplication.h \
  185.         ../../include/qpushbutton.h \
  186.         ../../include/qlabel.h \
  187.         ../../include/qslider.h \
  188.         ../../include/qcombobox.h \
  189.         ../../include/qdatetime.h \
  190.         patterns.cpp \
  191.         ../../include/qtimer.h \
  192.         ../../include/qwidget.h \
  193.         life.h \
  194.         ../../include/qobject.h \
  195.         ../../include/qobjectdefs.h \
  196.         ../../include/qwindowdefs.h \
  197.         ../../include/qstring.h \
  198.         ../../include/qevent.h \
  199.         ../../include/qnamespace.h \
  200.         ../../include/qglobal.h \
  201.         ../../include/qconfig-minimal.h \
  202.         ../../include/qconfig-small.h \
  203.         ../../include/qconfig-medium.h \
  204.         ../../include/qconfig-large.h \
  205.         ../../include/qconfig.h \
  206.         ../../include/qmodules.h \
  207.         ../../include/qfeatures.h \
  208.         ../../include/qcstring.h \
  209.         ../../include/qmemarray.h \
  210.         ../../include/qgarray.h \
  211.         ../../include/qshared.h \
  212.         ../../include/qregion.h \
  213.         ../../include/qmime.h \
  214.         ../../include/qpair.h \
  215.         ../../include/qrect.h \
  216.         ../../include/qsize.h \
  217.         ../../include/qpoint.h \
  218.         ../../include/qmap.h \
  219.         ../../include/qptrlist.h \
  220.         ../../include/qdatastream.h \
  221.         ../../include/qtl.h \
  222.         ../../include/qiodevice.h \
  223.         ../../include/qtextstream.h \
  224.         ../../include/qglist.h \
  225.         ../../include/qptrcollection.h \
  226.         ../../include/qpaintdevice.h \
  227.         ../../include/qpalette.h \
  228.         ../../include/qfont.h \
  229.         ../../include/qfontmetrics.h \
  230.         ../../include/qfontinfo.h \
  231.         ../../include/qsizepolicy.h \
  232.         ../../include/qcolor.h \
  233.         ../../include/qbrush.h \
  234.         ../../include/qframe.h \
  235.         ../../include/qdesktopwidget.h \
  236.         ../../include/qasciidict.h \
  237.         ../../include/qtranslator.h \
  238.         ../../include/qstrlist.h \
  239.         ../../include/qstringlist.h \
  240.         ../../include/quuid.h \
  241.         ../../include/qgdict.h \
  242.         ../../include/qvaluelist.h \
  243.         ../../include/qbutton.h \
  244.         ../../include/qiconset.h \
  245.         ../../include/qkeysequence.h \
  246.         ../../include/qpixmap.h \
  247.         ../../include/qrangecontrol.h
  248.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/lifedlg.o lifedlg.cpp
  249.  
  250. .obj/release/main.o: main.cpp lifedlg.h \
  251.         ../../include/qapplication.h \
  252.         ../../include/qtimer.h \
  253.         ../../include/qwidget.h \
  254.         life.h \
  255.         ../../include/qobject.h \
  256.         ../../include/qobjectdefs.h \
  257.         ../../include/qwindowdefs.h \
  258.         ../../include/qstring.h \
  259.         ../../include/qevent.h \
  260.         ../../include/qnamespace.h \
  261.         ../../include/qglobal.h \
  262.         ../../include/qconfig-minimal.h \
  263.         ../../include/qconfig-small.h \
  264.         ../../include/qconfig-medium.h \
  265.         ../../include/qconfig-large.h \
  266.         ../../include/qconfig.h \
  267.         ../../include/qmodules.h \
  268.         ../../include/qfeatures.h \
  269.         ../../include/qcstring.h \
  270.         ../../include/qmemarray.h \
  271.         ../../include/qgarray.h \
  272.         ../../include/qshared.h \
  273.         ../../include/qregion.h \
  274.         ../../include/qmime.h \
  275.         ../../include/qpair.h \
  276.         ../../include/qrect.h \
  277.         ../../include/qsize.h \
  278.         ../../include/qpoint.h \
  279.         ../../include/qmap.h \
  280.         ../../include/qptrlist.h \
  281.         ../../include/qdatastream.h \
  282.         ../../include/qtl.h \
  283.         ../../include/qiodevice.h \
  284.         ../../include/qtextstream.h \
  285.         ../../include/qglist.h \
  286.         ../../include/qptrcollection.h \
  287.         ../../include/qpaintdevice.h \
  288.         ../../include/qpalette.h \
  289.         ../../include/qfont.h \
  290.         ../../include/qfontmetrics.h \
  291.         ../../include/qfontinfo.h \
  292.         ../../include/qsizepolicy.h \
  293.         ../../include/qcolor.h \
  294.         ../../include/qbrush.h \
  295.         ../../include/qframe.h \
  296.         ../../include/qdesktopwidget.h \
  297.         ../../include/qasciidict.h \
  298.         ../../include/qtranslator.h \
  299.         ../../include/qstrlist.h \
  300.         ../../include/qstringlist.h \
  301.         ../../include/quuid.h \
  302.         ../../include/qgdict.h \
  303.         ../../include/qvaluelist.h
  304.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/main.o main.cpp
  305.  
  306. .obj/release/moc_life.o: .moc/release/moc_life.cpp life.h ../../include/qframe.h \
  307.         ../../include/qwidget.h \
  308.         ../../include/qwindowdefs.h \
  309.         ../../include/qobject.h \
  310.         ../../include/qpaintdevice.h \
  311.         ../../include/qpalette.h \
  312.         ../../include/qfont.h \
  313.         ../../include/qfontmetrics.h \
  314.         ../../include/qfontinfo.h \
  315.         ../../include/qsizepolicy.h \
  316.         ../../include/qobjectdefs.h \
  317.         ../../include/qstring.h \
  318.         ../../include/qnamespace.h \
  319.         ../../include/qglobal.h \
  320.         ../../include/qconfig-minimal.h \
  321.         ../../include/qconfig-small.h \
  322.         ../../include/qconfig-medium.h \
  323.         ../../include/qconfig-large.h \
  324.         ../../include/qconfig.h \
  325.         ../../include/qmodules.h \
  326.         ../../include/qfeatures.h \
  327.         ../../include/qcstring.h \
  328.         ../../include/qmemarray.h \
  329.         ../../include/qgarray.h \
  330.         ../../include/qshared.h \
  331.         ../../include/qevent.h \
  332.         ../../include/qregion.h \
  333.         ../../include/qmime.h \
  334.         ../../include/qpair.h \
  335.         ../../include/qrect.h \
  336.         ../../include/qsize.h \
  337.         ../../include/qpoint.h \
  338.         ../../include/qmap.h \
  339.         ../../include/qptrlist.h \
  340.         ../../include/qdatastream.h \
  341.         ../../include/qtl.h \
  342.         ../../include/qiodevice.h \
  343.         ../../include/qtextstream.h \
  344.         ../../include/qglist.h \
  345.         ../../include/qptrcollection.h \
  346.         ../../include/qcolor.h \
  347.         ../../include/qbrush.h
  348.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_life.o .moc/release/moc_life.cpp
  349.  
  350. .obj/release/moc_lifedlg.o: .moc/release/moc_lifedlg.cpp lifedlg.h ../../include/qtimer.h \
  351.         ../../include/qwidget.h \
  352.         life.h \
  353.         ../../include/qobject.h \
  354.         ../../include/qobjectdefs.h \
  355.         ../../include/qwindowdefs.h \
  356.         ../../include/qstring.h \
  357.         ../../include/qevent.h \
  358.         ../../include/qnamespace.h \
  359.         ../../include/qglobal.h \
  360.         ../../include/qconfig-minimal.h \
  361.         ../../include/qconfig-small.h \
  362.         ../../include/qconfig-medium.h \
  363.         ../../include/qconfig-large.h \
  364.         ../../include/qconfig.h \
  365.         ../../include/qmodules.h \
  366.         ../../include/qfeatures.h \
  367.         ../../include/qcstring.h \
  368.         ../../include/qmemarray.h \
  369.         ../../include/qgarray.h \
  370.         ../../include/qshared.h \
  371.         ../../include/qregion.h \
  372.         ../../include/qmime.h \
  373.         ../../include/qpair.h \
  374.         ../../include/qrect.h \
  375.         ../../include/qsize.h \
  376.         ../../include/qpoint.h \
  377.         ../../include/qmap.h \
  378.         ../../include/qptrlist.h \
  379.         ../../include/qdatastream.h \
  380.         ../../include/qtl.h \
  381.         ../../include/qiodevice.h \
  382.         ../../include/qtextstream.h \
  383.         ../../include/qglist.h \
  384.         ../../include/qptrcollection.h \
  385.         ../../include/qpaintdevice.h \
  386.         ../../include/qpalette.h \
  387.         ../../include/qfont.h \
  388.         ../../include/qfontmetrics.h \
  389.         ../../include/qfontinfo.h \
  390.         ../../include/qsizepolicy.h \
  391.         ../../include/qcolor.h \
  392.         ../../include/qbrush.h \
  393.         ../../include/qframe.h
  394.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/moc_lifedlg.o .moc/release/moc_lifedlg.cpp
  395.  
  396. .moc/release/moc_life.cpp: $(MOC) life.h
  397.     $(MOC) life.h -o .moc/release/moc_life.cpp
  398.  
  399. .moc/release/moc_lifedlg.cpp: $(MOC) lifedlg.h
  400.     $(MOC) lifedlg.h -o .moc/release/moc_lifedlg.cpp
  401.  
  402. ####### Install
  403.  
  404. install: all 
  405.  
  406.