############################################################################# # Makefile for building: unnamed # Generated by qmake (1.03a) on: Fri Dec 10 16:41:09 2004 # Project: unnamed.pro # Template: app # Command: $(QMAKE) unnamed.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ LEX = flex YACC = yacc CFLAGS = -pipe -Wall -W -I/usr/include/freetype2 -I/usr/include/freetype2/freetype -O2 -march=i386 -mcpu=i686 -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG CXXFLAGS = -pipe -Wall -W -I/usr/include/freetype2 -I/usr/include/freetype2/freetype -O2 -march=i386 -mcpu=i686 -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG LEXFLAGS = YACCFLAGS= -d INCPATH = -I$(QTDIR)/include -I.ui/ -I../tmp -I.moc/ -I$(QTDIR)/mkspecs/default LINK = g++ LFLAGS = LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -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 ####### Output directory OBJECTS_DIR = .obj/ ####### Files HEADERS = SOURCES = OBJECTS = .obj/form1.o FORMS = form1.ui UICDECLS = .ui/form1.h UICIMPLS = .ui/form1.cpp SRCMOC = .moc/moc_form1.cpp OBJMOC = .obj/moc_form1.o DIST = unnamed.pro QMAKE_TARGET = unnamed DESTDIR = TARGET = unnamed 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: unnamed.pro $(QTDIR)/mkspecs/default/qmake.conf $(QMAKE) unnamed.pro qmake: @$(QMAKE) unnamed.pro dist: @mkdir -p .obj/unnamed && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/unnamed/ && ( cd `dirname .obj/unnamed` && $(TAR) unnamed.tar unnamed && $(GZIP) unnamed.tar ) && $(MOVE) `dirname .obj/unnamed`/unnamed.tar.gz . && $(DEL_DIR) .obj/unnamed mocclean: -$(DEL_FILE) $(OBJMOC) -$(DEL_FILE) $(SRCMOC) uiclean: -$(DEL_FILE) $(UICIMPLS) $(UICDECLS) clean: mocclean uiclean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile .ui/form1.h: form1.ui $(UIC) form1.ui -o .ui/form1.h .ui/form1.cpp: .ui/form1.h form1.ui $(UIC) form1.ui -i form1.h -o .ui/form1.cpp .obj/form1.o: .ui/form1.cpp .ui/form1.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/form1.o .ui/form1.cpp .obj/moc_form1.o: .moc/moc_form1.cpp .ui/form1.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/moc_form1.o .moc/moc_form1.cpp .moc/moc_form1.cpp: $(MOC) .ui/form1.h $(MOC) .ui/form1.h -o .moc/moc_form1.cpp ####### Install install: all uninstall: