############################################################################# # Makefile for building: pm1 # Generated by qmake (1.03a) on: Fri Dec 10 12:08:48 2004 # Project: pm1.pro # Template: app # Command: $(QMAKE) pm1.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$(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 = ./ ####### Files HEADERS = SOURCES = classetest.cc \ mastermind.cc \ oefpoint.cc \ sorteren.cc \ test.cc \ test.cpp OBJECTS = classetest.o \ mastermind.o \ oefpoint.o \ sorteren.o \ test.o \ test.o FORMS = UICDECLS = UICIMPLS = SRCMOC = OBJMOC = DIST = pm1.pro QMAKE_TARGET = pm1 DESTDIR = TARGET = pm1 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: pm1.pro $(QTDIR)/mkspecs/default/qmake.conf $(QMAKE) pm1.pro qmake: @$(QMAKE) pm1.pro dist: @mkdir -p .tmp/pm1 && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/pm1/ && ( cd `dirname .tmp/pm1` && $(TAR) pm1.tar pm1 && $(GZIP) pm1.tar ) && $(MOVE) `dirname .tmp/pm1`/pm1.tar.gz . && $(DEL_DIR) .tmp/pm1 mocclean: uiclean: clean: -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile classetest.o: classetest.cc mastermind.o: mastermind.cc oefpoint.o: oefpoint.cc sorteren.o: sorteren.cc test.o: test.cc test.o: test.cpp ####### Install install: all uninstall: