c++/POSIXoveFronty/Fronta/Makefile
changeset 15 b166c6f49719
parent 6 617fef4676b9
     1.1 --- a/c++/POSIXoveFronty/Fronta/Makefile	Tue Aug 17 22:40:16 2010 +0200
     1.2 +++ b/c++/POSIXoveFronty/Fronta/Makefile	Mon Mar 14 21:54:03 2011 +0100
     1.3 @@ -1,6 +1,6 @@
     1.4  #############################################################################
     1.5  # Makefile for building: Fronta
     1.6 -# Generated by qmake (2.01a) (Qt 4.4.3) on: ne dub 5 22:16:48 2009
     1.7 +# Generated by qmake (2.01a) (Qt 4.7.0) on: st 2 9 19:12:09 2011
     1.8  # Project:  Fronta.pro
     1.9  # Template: app
    1.10  # Command: /usr/bin/qmake -unix -o Makefile Fronta.pro
    1.11 @@ -13,10 +13,10 @@
    1.12  DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
    1.13  CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
    1.14  CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
    1.15 -INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I.
    1.16 +INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.
    1.17  LINK          = g++
    1.18 -LFLAGS        = -Wl,--no-undefined
    1.19 -LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -lQtCore -lpthread
    1.20 +LFLAGS        = -Wl,-O1
    1.21 +LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -lQtCore -lpthread 
    1.22  AR            = ar cqs
    1.23  RANLIB        = 
    1.24  QMAKE         = /usr/bin/qmake
    1.25 @@ -26,11 +26,12 @@
    1.26  SED           = sed
    1.27  COPY_FILE     = $(COPY)
    1.28  COPY_DIR      = $(COPY) -r
    1.29 +STRIP         = strip
    1.30  INSTALL_FILE  = install -m 644 -p
    1.31  INSTALL_DIR   = $(COPY_DIR)
    1.32  INSTALL_PROGRAM = install -m 755 -p
    1.33  DEL_FILE      = rm -f
    1.34 -SYMLINK       = ln -sf
    1.35 +SYMLINK       = ln -f -s
    1.36  DEL_DIR       = rmdir
    1.37  MOVE          = mv -f
    1.38  CHK_DIR_EXISTS= test -d
    1.39 @@ -52,6 +53,7 @@
    1.40  		/usr/share/qt4/mkspecs/common/unix.conf \
    1.41  		/usr/share/qt4/mkspecs/common/linux.conf \
    1.42  		/usr/share/qt4/mkspecs/qconfig.pri \
    1.43 +		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
    1.44  		/usr/share/qt4/mkspecs/features/qt_functions.prf \
    1.45  		/usr/share/qt4/mkspecs/features/qt_config.prf \
    1.46  		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
    1.47 @@ -66,6 +68,7 @@
    1.48  		/usr/share/qt4/mkspecs/features/uic.prf \
    1.49  		/usr/share/qt4/mkspecs/features/yacc.prf \
    1.50  		/usr/share/qt4/mkspecs/features/lex.prf \
    1.51 +		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
    1.52  		Fronta.pro
    1.53  QMAKE_TARGET  = Fronta
    1.54  DESTDIR       = 
    1.55 @@ -102,6 +105,7 @@
    1.56  		/usr/share/qt4/mkspecs/common/unix.conf \
    1.57  		/usr/share/qt4/mkspecs/common/linux.conf \
    1.58  		/usr/share/qt4/mkspecs/qconfig.pri \
    1.59 +		/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
    1.60  		/usr/share/qt4/mkspecs/features/qt_functions.prf \
    1.61  		/usr/share/qt4/mkspecs/features/qt_config.prf \
    1.62  		/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
    1.63 @@ -116,6 +120,7 @@
    1.64  		/usr/share/qt4/mkspecs/features/uic.prf \
    1.65  		/usr/share/qt4/mkspecs/features/yacc.prf \
    1.66  		/usr/share/qt4/mkspecs/features/lex.prf \
    1.67 +		/usr/share/qt4/mkspecs/features/include_source_dir.prf \
    1.68  		/usr/lib/libQtGui.prl \
    1.69  		/usr/lib/libQtCore.prl
    1.70  	$(QMAKE) -unix -o Makefile Fronta.pro
    1.71 @@ -123,6 +128,7 @@
    1.72  /usr/share/qt4/mkspecs/common/unix.conf:
    1.73  /usr/share/qt4/mkspecs/common/linux.conf:
    1.74  /usr/share/qt4/mkspecs/qconfig.pri:
    1.75 +/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
    1.76  /usr/share/qt4/mkspecs/features/qt_functions.prf:
    1.77  /usr/share/qt4/mkspecs/features/qt_config.prf:
    1.78  /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
    1.79 @@ -137,6 +143,7 @@
    1.80  /usr/share/qt4/mkspecs/features/uic.prf:
    1.81  /usr/share/qt4/mkspecs/features/yacc.prf:
    1.82  /usr/share/qt4/mkspecs/features/lex.prf:
    1.83 +/usr/share/qt4/mkspecs/features/include_source_dir.prf:
    1.84  /usr/lib/libQtGui.prl:
    1.85  /usr/lib/libQtCore.prl:
    1.86  qmake:  FORCE
    1.87 @@ -159,6 +166,8 @@
    1.88  	-$(DEL_FILE) Makefile
    1.89  
    1.90  
    1.91 +check: first
    1.92 +
    1.93  mocclean: compiler_moc_header_clean compiler_moc_source_clean
    1.94  
    1.95  mocables: compiler_moc_header_make_all compiler_moc_source_make_all
    1.96 @@ -187,7 +196,8 @@
    1.97  fronta.o: fronta.cpp fronta.h
    1.98  	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o fronta.o fronta.cpp
    1.99  
   1.100 -program.o: program.cpp program.h
   1.101 +program.o: program.cpp program.h \
   1.102 +		fronta.h
   1.103  	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o program.o program.cpp
   1.104  
   1.105  gdbmacros.o: qtc-gdbmacros/gdbmacros.cpp