diff -r f1aae09bb78e -r 18317e52d52b c++/POSIXoveFronty/Fronta/Makefile --- a/c++/POSIXoveFronty/Fronta/Makefile Sun Apr 05 12:39:59 2009 +0200 +++ b/c++/POSIXoveFronty/Fronta/Makefile Tue Apr 07 23:49:02 2009 +0200 @@ -1,9 +1,9 @@ ############################################################################# # Makefile for building: Fronta -# Generated by qmake (2.01a) (Qt 4.4.3) on: so dub 4 22:38:33 2009 +# Generated by qmake (2.01a) (Qt 4.4.3) on: ne dub 5 22:16:48 2009 # Project: Fronta.pro # Template: app -# Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++ -unix -o Makefile Fronta.pro +# Command: /usr/bin/qmake -unix -o Makefile Fronta.pro ############################################################################# ####### Compiler, tools and options @@ -19,7 +19,7 @@ LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtCore -lpthread AR = ar cqs RANLIB = -QMAKE = /usr/bin/qmake-qt4 +QMAKE = /usr/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f @@ -42,8 +42,12 @@ ####### Files -SOURCES = program.cpp -OBJECTS = program.o +SOURCES = fronta.cpp \ + program.cpp \ + qtc-gdbmacros/gdbmacros.cpp +OBJECTS = fronta.o \ + program.o \ + gdbmacros.o DIST = /usr/share/qt4/mkspecs/common/g++.conf \ /usr/share/qt4/mkspecs/common/unix.conf \ /usr/share/qt4/mkspecs/common/linux.conf \ @@ -114,7 +118,7 @@ /usr/share/qt4/mkspecs/features/lex.prf \ /usr/lib/libQtGui.prl \ /usr/lib/libQtCore.prl - $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix -o Makefile Fronta.pro + $(QMAKE) -unix -o Makefile Fronta.pro /usr/share/qt4/mkspecs/common/g++.conf: /usr/share/qt4/mkspecs/common/unix.conf: /usr/share/qt4/mkspecs/common/linux.conf: @@ -136,11 +140,11 @@ /usr/lib/libQtGui.prl: /usr/lib/libQtCore.prl: qmake: FORCE - @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix -o Makefile Fronta.pro + @$(QMAKE) -unix -o Makefile Fronta.pro dist: @$(CHK_DIR_EXISTS) .tmp/Fronta1.0.0 || $(MKDIR) .tmp/Fronta1.0.0 - $(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 + $(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 clean:compiler_clean @@ -180,9 +184,15 @@ ####### Compile +fronta.o: fronta.cpp fronta.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o fronta.o fronta.cpp + program.o: program.cpp program.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o program.o program.cpp +gdbmacros.o: qtc-gdbmacros/gdbmacros.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o gdbmacros.o qtc-gdbmacros/gdbmacros.cpp + ####### Install install: FORCE