Přidání barevného výstupu – kódy pro VT100, TODO: udělat funkci pro barevný výstup / použít ncurses
http://www.gnu.org/software/ncurses/ncurses.html
1 #############################################################################
2 # Makefile for building: Fronta
3 # Generated by qmake (2.01a) (Qt 4.4.3) on: ne dub 5 22:16:48 2009
6 # Command: /usr/bin/qmake -unix -o Makefile Fronta.pro
7 #############################################################################
9 ####### Compiler, tools and options
13 DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
16 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.
18 LFLAGS = -Wl,--no-undefined
19 LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtCore -lpthread
22 QMAKE = /usr/bin/qmake
29 INSTALL_FILE = install -m 644 -p
30 INSTALL_DIR = $(COPY_DIR)
31 INSTALL_PROGRAM = install -m 755 -p
36 CHK_DIR_EXISTS= test -d
39 ####### Output directory
45 SOURCES = fronta.cpp \
47 qtc-gdbmacros/gdbmacros.cpp
51 DIST = /usr/share/qt4/mkspecs/common/g++.conf \
52 /usr/share/qt4/mkspecs/common/unix.conf \
53 /usr/share/qt4/mkspecs/common/linux.conf \
54 /usr/share/qt4/mkspecs/qconfig.pri \
55 /usr/share/qt4/mkspecs/features/qt_functions.prf \
56 /usr/share/qt4/mkspecs/features/qt_config.prf \
57 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
58 /usr/share/qt4/mkspecs/features/default_pre.prf \
59 /usr/share/qt4/mkspecs/features/release.prf \
60 /usr/share/qt4/mkspecs/features/default_post.prf \
61 /usr/share/qt4/mkspecs/features/warn_on.prf \
62 /usr/share/qt4/mkspecs/features/qt.prf \
63 /usr/share/qt4/mkspecs/features/unix/thread.prf \
64 /usr/share/qt4/mkspecs/features/moc.prf \
65 /usr/share/qt4/mkspecs/features/resources.prf \
66 /usr/share/qt4/mkspecs/features/uic.prf \
67 /usr/share/qt4/mkspecs/features/yacc.prf \
68 /usr/share/qt4/mkspecs/features/lex.prf \
75 ####### Implicit rules
77 .SUFFIXES: .o .c .cpp .cc .cxx .C
80 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
83 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
86 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
92 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
96 all: Makefile $(TARGET)
99 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
101 Makefile: Fronta.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
102 /usr/share/qt4/mkspecs/common/unix.conf \
103 /usr/share/qt4/mkspecs/common/linux.conf \
104 /usr/share/qt4/mkspecs/qconfig.pri \
105 /usr/share/qt4/mkspecs/features/qt_functions.prf \
106 /usr/share/qt4/mkspecs/features/qt_config.prf \
107 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
108 /usr/share/qt4/mkspecs/features/default_pre.prf \
109 /usr/share/qt4/mkspecs/features/release.prf \
110 /usr/share/qt4/mkspecs/features/default_post.prf \
111 /usr/share/qt4/mkspecs/features/warn_on.prf \
112 /usr/share/qt4/mkspecs/features/qt.prf \
113 /usr/share/qt4/mkspecs/features/unix/thread.prf \
114 /usr/share/qt4/mkspecs/features/moc.prf \
115 /usr/share/qt4/mkspecs/features/resources.prf \
116 /usr/share/qt4/mkspecs/features/uic.prf \
117 /usr/share/qt4/mkspecs/features/yacc.prf \
118 /usr/share/qt4/mkspecs/features/lex.prf \
119 /usr/lib/libQtGui.prl \
120 /usr/lib/libQtCore.prl
121 $(QMAKE) -unix -o Makefile Fronta.pro
122 /usr/share/qt4/mkspecs/common/g++.conf:
123 /usr/share/qt4/mkspecs/common/unix.conf:
124 /usr/share/qt4/mkspecs/common/linux.conf:
125 /usr/share/qt4/mkspecs/qconfig.pri:
126 /usr/share/qt4/mkspecs/features/qt_functions.prf:
127 /usr/share/qt4/mkspecs/features/qt_config.prf:
128 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
129 /usr/share/qt4/mkspecs/features/default_pre.prf:
130 /usr/share/qt4/mkspecs/features/release.prf:
131 /usr/share/qt4/mkspecs/features/default_post.prf:
132 /usr/share/qt4/mkspecs/features/warn_on.prf:
133 /usr/share/qt4/mkspecs/features/qt.prf:
134 /usr/share/qt4/mkspecs/features/unix/thread.prf:
135 /usr/share/qt4/mkspecs/features/moc.prf:
136 /usr/share/qt4/mkspecs/features/resources.prf:
137 /usr/share/qt4/mkspecs/features/uic.prf:
138 /usr/share/qt4/mkspecs/features/yacc.prf:
139 /usr/share/qt4/mkspecs/features/lex.prf:
140 /usr/lib/libQtGui.prl:
141 /usr/lib/libQtCore.prl:
143 @$(QMAKE) -unix -o Makefile Fronta.pro
146 @$(CHK_DIR_EXISTS) .tmp/Fronta1.0.0 || $(MKDIR) .tmp/Fronta1.0.0
147 $(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
151 -$(DEL_FILE) $(OBJECTS)
152 -$(DEL_FILE) *~ core *.core
155 ####### Sub-libraries
158 -$(DEL_FILE) $(TARGET)
159 -$(DEL_FILE) Makefile
162 mocclean: compiler_moc_header_clean compiler_moc_source_clean
164 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
166 compiler_moc_header_make_all:
167 compiler_moc_header_clean:
168 compiler_rcc_make_all:
170 compiler_image_collection_make_all: qmake_image_collection.cpp
171 compiler_image_collection_clean:
172 -$(DEL_FILE) qmake_image_collection.cpp
173 compiler_moc_source_make_all:
174 compiler_moc_source_clean:
175 compiler_uic_make_all:
177 compiler_yacc_decl_make_all:
178 compiler_yacc_decl_clean:
179 compiler_yacc_impl_make_all:
180 compiler_yacc_impl_clean:
181 compiler_lex_make_all:
187 fronta.o: fronta.cpp fronta.h
188 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o fronta.o fronta.cpp
190 program.o: program.cpp program.h
191 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o program.o program.cpp
193 gdbmacros.o: qtc-gdbmacros/gdbmacros.cpp
194 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o gdbmacros.o qtc-gdbmacros/gdbmacros.cpp