Introduce old redir program
[lcapit-junk-code.git] / qt-course / exer355-base-converter / Makefile
blob4941e36e180c2831d15c5fd73584b285a2aab679
1 #############################################################################
2 # Makefile for building: exer355-base-converter
3 # Generated by qmake (2.01a) (Qt 4.4.0) on: qui jul 10 21:12:38 2008
4 # Project: exer355-base-converter.pro
5 # Template: app
6 # Command: /usr/bin/qmake -unix -o Makefile exer355-base-converter.pro
7 #############################################################################
9 ####### Compiler, tools and options
11 CC = gcc
12 CXX = g++
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/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include -I. -I. -I.
17 LINK = g++
18 LFLAGS =
19 LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -L/usr/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
20 AR = ar cqs
21 RANLIB =
22 QMAKE = /usr/bin/qmake
23 TAR = tar -cf
24 COMPRESS = gzip -9f
25 COPY = cp -f
26 SED = sed
27 COPY_FILE = $(COPY)
28 COPY_DIR = $(COPY) -r
29 INSTALL_FILE = install -m 644 -p
30 INSTALL_DIR = $(COPY_DIR)
31 INSTALL_PROGRAM = install -m 755 -p
32 DEL_FILE = rm -f
33 SYMLINK = ln -sf
34 DEL_DIR = rmdir
35 MOVE = mv -f
36 CHK_DIR_EXISTS= test -d
37 MKDIR = mkdir -p
39 ####### Output directory
41 OBJECTS_DIR = ./
43 ####### Files
45 SOURCES = main.cpp \
46 MyWidget.cpp moc_MyWidget.cpp
47 OBJECTS = main.o \
48 MyWidget.o \
49 moc_MyWidget.o
50 DIST = /usr/lib/qt4/mkspecs/common/g++.conf \
51 /usr/lib/qt4/mkspecs/common/unix.conf \
52 /usr/lib/qt4/mkspecs/common/linux.conf \
53 /usr/lib/qt4/mkspecs/qconfig.pri \
54 /usr/lib/qt4/mkspecs/features/qt_functions.prf \
55 /usr/lib/qt4/mkspecs/features/qt_config.prf \
56 /usr/lib/qt4/mkspecs/features/exclusive_builds.prf \
57 /usr/lib/qt4/mkspecs/features/default_pre.prf \
58 /usr/lib/qt4/mkspecs/features/release.prf \
59 /usr/lib/qt4/mkspecs/features/default_post.prf \
60 /usr/lib/qt4/mkspecs/features/warn_on.prf \
61 /usr/lib/qt4/mkspecs/features/qt.prf \
62 /usr/lib/qt4/mkspecs/features/unix/thread.prf \
63 /usr/lib/qt4/mkspecs/features/moc.prf \
64 /usr/lib/qt4/mkspecs/features/resources.prf \
65 /usr/lib/qt4/mkspecs/features/uic.prf \
66 /usr/lib/qt4/mkspecs/features/yacc.prf \
67 /usr/lib/qt4/mkspecs/features/lex.prf \
68 exer355-base-converter.pro
69 QMAKE_TARGET = exer355-base-converter
70 DESTDIR =
71 TARGET = exer355-base-converter
73 first: all
74 ####### Implicit rules
76 .SUFFIXES: .o .c .cpp .cc .cxx .C
78 .cpp.o:
79 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
81 .cc.o:
82 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
84 .cxx.o:
85 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
87 .C.o:
88 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
90 .c.o:
91 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
93 ####### Build rules
95 all: Makefile $(TARGET)
97 $(TARGET): $(OBJECTS)
98 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
100 Makefile: exer355-base-converter.pro /usr/lib/qt4/mkspecs/linux-g++/qmake.conf /usr/lib/qt4/mkspecs/common/g++.conf \
101 /usr/lib/qt4/mkspecs/common/unix.conf \
102 /usr/lib/qt4/mkspecs/common/linux.conf \
103 /usr/lib/qt4/mkspecs/qconfig.pri \
104 /usr/lib/qt4/mkspecs/features/qt_functions.prf \
105 /usr/lib/qt4/mkspecs/features/qt_config.prf \
106 /usr/lib/qt4/mkspecs/features/exclusive_builds.prf \
107 /usr/lib/qt4/mkspecs/features/default_pre.prf \
108 /usr/lib/qt4/mkspecs/features/release.prf \
109 /usr/lib/qt4/mkspecs/features/default_post.prf \
110 /usr/lib/qt4/mkspecs/features/warn_on.prf \
111 /usr/lib/qt4/mkspecs/features/qt.prf \
112 /usr/lib/qt4/mkspecs/features/unix/thread.prf \
113 /usr/lib/qt4/mkspecs/features/moc.prf \
114 /usr/lib/qt4/mkspecs/features/resources.prf \
115 /usr/lib/qt4/mkspecs/features/uic.prf \
116 /usr/lib/qt4/mkspecs/features/yacc.prf \
117 /usr/lib/qt4/mkspecs/features/lex.prf \
118 /usr/lib/libQtGui.prl \
119 /usr/lib/libQtCore.prl
120 $(QMAKE) -unix -o Makefile exer355-base-converter.pro
121 /usr/lib/qt4/mkspecs/common/g++.conf:
122 /usr/lib/qt4/mkspecs/common/unix.conf:
123 /usr/lib/qt4/mkspecs/common/linux.conf:
124 /usr/lib/qt4/mkspecs/qconfig.pri:
125 /usr/lib/qt4/mkspecs/features/qt_functions.prf:
126 /usr/lib/qt4/mkspecs/features/qt_config.prf:
127 /usr/lib/qt4/mkspecs/features/exclusive_builds.prf:
128 /usr/lib/qt4/mkspecs/features/default_pre.prf:
129 /usr/lib/qt4/mkspecs/features/release.prf:
130 /usr/lib/qt4/mkspecs/features/default_post.prf:
131 /usr/lib/qt4/mkspecs/features/warn_on.prf:
132 /usr/lib/qt4/mkspecs/features/qt.prf:
133 /usr/lib/qt4/mkspecs/features/unix/thread.prf:
134 /usr/lib/qt4/mkspecs/features/moc.prf:
135 /usr/lib/qt4/mkspecs/features/resources.prf:
136 /usr/lib/qt4/mkspecs/features/uic.prf:
137 /usr/lib/qt4/mkspecs/features/yacc.prf:
138 /usr/lib/qt4/mkspecs/features/lex.prf:
139 /usr/lib/libQtGui.prl:
140 /usr/lib/libQtCore.prl:
141 qmake: FORCE
142 @$(QMAKE) -unix -o Makefile exer355-base-converter.pro
144 dist:
145 @$(CHK_DIR_EXISTS) .tmp/exer355-base-converter1.0.0 || $(MKDIR) .tmp/exer355-base-converter1.0.0
146 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/exer355-base-converter1.0.0/ && $(COPY_FILE) --parents MyWidget.h .tmp/exer355-base-converter1.0.0/ && $(COPY_FILE) --parents main.cpp MyWidget.cpp .tmp/exer355-base-converter1.0.0/ && (cd `dirname .tmp/exer355-base-converter1.0.0` && $(TAR) exer355-base-converter1.0.0.tar exer355-base-converter1.0.0 && $(COMPRESS) exer355-base-converter1.0.0.tar) && $(MOVE) `dirname .tmp/exer355-base-converter1.0.0`/exer355-base-converter1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/exer355-base-converter1.0.0
149 clean:compiler_clean
150 -$(DEL_FILE) $(OBJECTS)
151 -$(DEL_FILE) *~ core *.core
154 ####### Sub-libraries
156 distclean: clean
157 -$(DEL_FILE) $(TARGET)
158 -$(DEL_FILE) Makefile
161 mocclean: compiler_moc_header_clean compiler_moc_source_clean
163 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
165 compiler_moc_header_make_all: moc_MyWidget.cpp
166 compiler_moc_header_clean:
167 -$(DEL_FILE) moc_MyWidget.cpp
168 moc_MyWidget.cpp: MyWidget.h
169 /usr/lib/qt4/bin/moc $(DEFINES) $(INCPATH) MyWidget.h -o moc_MyWidget.cpp
171 compiler_rcc_make_all:
172 compiler_rcc_clean:
173 compiler_image_collection_make_all: qmake_image_collection.cpp
174 compiler_image_collection_clean:
175 -$(DEL_FILE) qmake_image_collection.cpp
176 compiler_moc_source_make_all:
177 compiler_moc_source_clean:
178 compiler_uic_make_all:
179 compiler_uic_clean:
180 compiler_yacc_decl_make_all:
181 compiler_yacc_decl_clean:
182 compiler_yacc_impl_make_all:
183 compiler_yacc_impl_clean:
184 compiler_lex_make_all:
185 compiler_lex_clean:
186 compiler_clean: compiler_moc_header_clean
188 ####### Compile
190 main.o: main.cpp MyWidget.h
191 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
193 MyWidget.o: MyWidget.cpp MyWidget.h
194 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o MyWidget.o MyWidget.cpp
196 moc_MyWidget.o: moc_MyWidget.cpp
197 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_MyWidget.o moc_MyWidget.cpp
199 ####### Install
201 install: FORCE
203 uninstall: FORCE
205 FORCE: