############################################################################# # Makefile for building: cartouche # Generated by qmake (1.04a) (Qt 3.1.0) on: Thu Jun 12 16:03:54 2003 # Project: cartouche.pro # Template: app # Command: $(QMAKE) -o Makefile cartouche.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ LEX = flex YACC = yacc CFLAGS = -pipe -Wall -W -O2 -DQT_NO_DEBUG CXXFLAGS = -pipe -Wall -W -O2 -DQT_NO_DEBUG LEXFLAGS = YACCFLAGS= -d INCPATH = -I$(QTDIR)/include -I.ui/ -I.moc/ -I$(QTDIR)/mkspecs/default LINK = g++ LFLAGS = LIBS = $(SUBLIBS) -Wl,-rpath,$(QTDIR)/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm AR = ar cqs RANLIB = MOC = $(QTDIR)/bin/moc UIC = $(QTDIR)/bin/uic QMAKE = qmake TAR = tar -cf GZIP = gzip -9f COPY = cp -f COPY_FILE= $(COPY) -p COPY_DIR = $(COPY) -pR DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f ####### Output directory OBJECTS_DIR = .obj/ ####### Files HEADERS = SOURCES = main.cpp OBJECTS = .obj/main.o \ .obj/cartouche.o \ .obj/qmake_image_collection.o FORMS = cartouche.ui UICDECLS = .ui/cartouche.h UICIMPLS = .ui/cartouche.cpp SRCMOC = .moc/moc_cartouche.cpp OBJMOC = .obj/moc_cartouche.o DIST = /home/JMancinelli/APA/APA_Cartouche/cartouche.pro QMAKE_TARGET = cartouche DESTDIR = TARGET = cartouche first: all ####### Implicit rules .SUFFIXES: .c .cpp .cc .cxx .C .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ####### Build rules all: Makefile $(TARGET) $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) mocables: $(SRCMOC) $(MOC): ( cd $(QTDIR)/src/moc ; $(MAKE) ) Makefile: cartouche.pro $(QTDIR)/mkspecs/default/qmake.conf $(QMAKE) -o Makefile cartouche.pro qmake: @$(QMAKE) -o Makefile cartouche.pro dist: @mkdir -p .obj/cartouche && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/cartouche/ && $(COPY_FILE) --parents cartouche.ui.h .obj/cartouche/ && ( cd `dirname .obj/cartouche` && $(TAR) cartouche.tar cartouche && $(GZIP) cartouche.tar ) && $(MOVE) `dirname .obj/cartouche`/cartouche.tar.gz . && $(DEL_DIR) .obj/cartouche mocclean: -$(DEL_FILE) $(OBJMOC) -$(DEL_FILE) $(SRCMOC) uiclean: -$(DEL_FILE) $(UICIMPLS) $(UICDECLS) clean: mocclean uiclean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) .ui/qmake_image_collection.cpp -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile .obj/main.o: main.cpp .ui/cartouche.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/main.o main.cpp .ui/cartouche.h: cartouche.ui $(UIC) cartouche.ui -o .ui/cartouche.h .ui/cartouche.cpp: .ui/cartouche.h cartouche.ui $(UIC) cartouche.ui -i cartouche.h -o .ui/cartouche.cpp .obj/cartouche.o: .ui/cartouche.cpp cartouche.ui.h \ .ui/cartouche.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/cartouche.o .ui/cartouche.cpp .obj/moc_cartouche.o: .moc/moc_cartouche.cpp .ui/cartouche.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/moc_cartouche.o .moc/moc_cartouche.cpp .moc/moc_cartouche.cpp: $(MOC) .ui/cartouche.h $(MOC) .ui/cartouche.h -o .moc/moc_cartouche.cpp .obj/qmake_image_collection.o: .ui/qmake_image_collection.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/qmake_image_collection.o .ui/qmake_image_collection.cpp .ui/qmake_image_collection.cpp: images/filenew \ images/fileopen \ images/filesave \ images/print \ images/undo \ images/redo \ images/editcut \ images/editcopy \ images/editpaste \ images/searchfind \ images/filenew_1 \ images/fileopen_1 \ images/filesave_1 \ images/print_1 \ images/undo_1 \ images/redo_1 \ images/editcut_1 \ images/editcopy_1 \ images/editpaste_1 \ images/searchfind_1 \ images/Echecgrand.jpg $(UIC) -embed cartouche images/filenew images/fileopen images/filesave images/print images/undo images/redo images/editcut images/editcopy images/editpaste images/searchfind images/filenew_1 images/fileopen_1 images/filesave_1 images/print_1 images/undo_1 images/redo_1 images/editcut_1 images/editcopy_1 images/editpaste_1 images/searchfind_1 images/Echecgrand.jpg -o .ui/qmake_image_collection.cpp ####### Install install: all uninstall: