c++/POSIXoveFronty/Fronta/Makefile
changeset 6 617fef4676b9
parent 2 f1aae09bb78e
child 15 b166c6f49719
     1.1 --- a/c++/POSIXoveFronty/Fronta/Makefile	Sun Apr 05 12:39:59 2009 +0200
     1.2 +++ b/c++/POSIXoveFronty/Fronta/Makefile	Tue Apr 07 01:16:04 2009 +0200
     1.3 @@ -1,9 +1,9 @@
     1.4  #############################################################################
     1.5  # Makefile for building: Fronta
     1.6 -# Generated by qmake (2.01a) (Qt 4.4.3) on: so dub 4 22:38:33 2009
     1.7 +# Generated by qmake (2.01a) (Qt 4.4.3) on: ne dub 5 22:16:48 2009
     1.8  # Project:  Fronta.pro
     1.9  # Template: app
    1.10 -# Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++ -unix -o Makefile Fronta.pro
    1.11 +# Command: /usr/bin/qmake -unix -o Makefile Fronta.pro
    1.12  #############################################################################
    1.13  
    1.14  ####### Compiler, tools and options
    1.15 @@ -19,7 +19,7 @@
    1.16  LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -lQtCore -lpthread
    1.17  AR            = ar cqs
    1.18  RANLIB        = 
    1.19 -QMAKE         = /usr/bin/qmake-qt4
    1.20 +QMAKE         = /usr/bin/qmake
    1.21  TAR           = tar -cf
    1.22  COMPRESS      = gzip -9f
    1.23  COPY          = cp -f
    1.24 @@ -42,8 +42,12 @@
    1.25  
    1.26  ####### Files
    1.27  
    1.28 -SOURCES       = program.cpp 
    1.29 -OBJECTS       = program.o
    1.30 +SOURCES       = fronta.cpp \
    1.31 +		program.cpp \
    1.32 +		qtc-gdbmacros/gdbmacros.cpp 
    1.33 +OBJECTS       = fronta.o \
    1.34 +		program.o \
    1.35 +		gdbmacros.o
    1.36  DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
    1.37  		/usr/share/qt4/mkspecs/common/unix.conf \
    1.38  		/usr/share/qt4/mkspecs/common/linux.conf \
    1.39 @@ -114,7 +118,7 @@
    1.40  		/usr/share/qt4/mkspecs/features/lex.prf \
    1.41  		/usr/lib/libQtGui.prl \
    1.42  		/usr/lib/libQtCore.prl
    1.43 -	$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix -o Makefile Fronta.pro
    1.44 +	$(QMAKE) -unix -o Makefile Fronta.pro
    1.45  /usr/share/qt4/mkspecs/common/g++.conf:
    1.46  /usr/share/qt4/mkspecs/common/unix.conf:
    1.47  /usr/share/qt4/mkspecs/common/linux.conf:
    1.48 @@ -136,11 +140,11 @@
    1.49  /usr/lib/libQtGui.prl:
    1.50  /usr/lib/libQtCore.prl:
    1.51  qmake:  FORCE
    1.52 -	@$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix -o Makefile Fronta.pro
    1.53 +	@$(QMAKE) -unix -o Makefile Fronta.pro
    1.54  
    1.55  dist: 
    1.56  	@$(CHK_DIR_EXISTS) .tmp/Fronta1.0.0 || $(MKDIR) .tmp/Fronta1.0.0 
    1.57 -	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/Fronta1.0.0/ && $(COPY_FILE) --parents program.h .tmp/Fronta1.0.0/ && $(COPY_FILE) --parents program.cpp .tmp/Fronta1.0.0/ && (cd `dirname .tmp/Fronta1.0.0` && $(TAR) Fronta1.0.0.tar Fronta1.0.0 && $(COMPRESS) Fronta1.0.0.tar) && $(MOVE) `dirname .tmp/Fronta1.0.0`/Fronta1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/Fronta1.0.0
    1.58 +	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/Fronta1.0.0/ && $(COPY_FILE) --parents fronta.h program.h .tmp/Fronta1.0.0/ && $(COPY_FILE) --parents fronta.cpp program.cpp qtc-gdbmacros/gdbmacros.cpp .tmp/Fronta1.0.0/ && (cd `dirname .tmp/Fronta1.0.0` && $(TAR) Fronta1.0.0.tar Fronta1.0.0 && $(COMPRESS) Fronta1.0.0.tar) && $(MOVE) `dirname .tmp/Fronta1.0.0`/Fronta1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/Fronta1.0.0
    1.59  
    1.60  
    1.61  clean:compiler_clean 
    1.62 @@ -180,9 +184,15 @@
    1.63  
    1.64  ####### Compile
    1.65  
    1.66 +fronta.o: fronta.cpp fronta.h
    1.67 +	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o fronta.o fronta.cpp
    1.68 +
    1.69  program.o: program.cpp program.h
    1.70  	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o program.o program.cpp
    1.71  
    1.72 +gdbmacros.o: qtc-gdbmacros/gdbmacros.cpp 
    1.73 +	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o gdbmacros.o qtc-gdbmacros/gdbmacros.cpp
    1.74 +
    1.75  ####### Install
    1.76  
    1.77  install:   FORCE