1 | #############################################################################
|
---|
2 | # Makefile for building: pm1
|
---|
3 | # Generated by qmake (1.03a) on: Fri Dec 10 12:08:48 2004
|
---|
4 | # Project: pm1.pro
|
---|
5 | # Template: app
|
---|
6 | # Command: $(QMAKE) pm1.pro
|
---|
7 | #############################################################################
|
---|
8 |
|
---|
9 | ####### Compiler, tools and options
|
---|
10 |
|
---|
11 | CC = gcc
|
---|
12 | CXX = g++
|
---|
13 | LEX = flex
|
---|
14 | YACC = yacc
|
---|
15 | 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
|
---|
16 | 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
|
---|
17 | LEXFLAGS =
|
---|
18 | YACCFLAGS= -d
|
---|
19 | INCPATH = -I$(QTDIR)/include -I$(QTDIR)/mkspecs/default
|
---|
20 | LINK = g++
|
---|
21 | LFLAGS =
|
---|
22 | LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
|
---|
23 | AR = ar cqs
|
---|
24 | RANLIB =
|
---|
25 | MOC = $(QTDIR)/bin/moc
|
---|
26 | UIC = $(QTDIR)/bin/uic
|
---|
27 | QMAKE = qmake
|
---|
28 | TAR = tar -cf
|
---|
29 | GZIP = gzip -9f
|
---|
30 | COPY = cp -f
|
---|
31 | COPY_FILE= $(COPY) -p
|
---|
32 | COPY_DIR = $(COPY) -pR
|
---|
33 | DEL_FILE = rm -f
|
---|
34 | SYMLINK = ln -sf
|
---|
35 | DEL_DIR = rmdir
|
---|
36 | MOVE = mv
|
---|
37 |
|
---|
38 | ####### Output directory
|
---|
39 |
|
---|
40 | OBJECTS_DIR = ./
|
---|
41 |
|
---|
42 | ####### Files
|
---|
43 |
|
---|
44 | HEADERS =
|
---|
45 | SOURCES = classetest.cc \
|
---|
46 | mastermind.cc \
|
---|
47 | oefpoint.cc \
|
---|
48 | sorteren.cc \
|
---|
49 | test.cc \
|
---|
50 | test.cpp
|
---|
51 | OBJECTS = classetest.o \
|
---|
52 | mastermind.o \
|
---|
53 | oefpoint.o \
|
---|
54 | sorteren.o \
|
---|
55 | test.o \
|
---|
56 | test.o
|
---|
57 | FORMS =
|
---|
58 | UICDECLS =
|
---|
59 | UICIMPLS =
|
---|
60 | SRCMOC =
|
---|
61 | OBJMOC =
|
---|
62 | DIST = pm1.pro
|
---|
63 | QMAKE_TARGET = pm1
|
---|
64 | DESTDIR =
|
---|
65 | TARGET = pm1
|
---|
66 |
|
---|
67 | first: all
|
---|
68 | ####### Implicit rules
|
---|
69 |
|
---|
70 | .SUFFIXES: .c .cpp .cc .cxx .C
|
---|
71 |
|
---|
72 | .cpp.o:
|
---|
73 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
---|
74 |
|
---|
75 | .cc.o:
|
---|
76 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
---|
77 |
|
---|
78 | .cxx.o:
|
---|
79 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
---|
80 |
|
---|
81 | .C.o:
|
---|
82 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
|
---|
83 |
|
---|
84 | .c.o:
|
---|
85 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
|
---|
86 |
|
---|
87 | ####### Build rules
|
---|
88 |
|
---|
89 | all: Makefile $(TARGET)
|
---|
90 |
|
---|
91 | $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
|
---|
92 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
|
---|
93 |
|
---|
94 | mocables: $(SRCMOC)
|
---|
95 |
|
---|
96 | $(MOC):
|
---|
97 | ( cd $(QTDIR)/src/moc ; $(MAKE) )
|
---|
98 |
|
---|
99 | Makefile: pm1.pro $(QTDIR)/mkspecs/default/qmake.conf
|
---|
100 | $(QMAKE) pm1.pro
|
---|
101 | qmake:
|
---|
102 | @$(QMAKE) pm1.pro
|
---|
103 |
|
---|
104 | dist:
|
---|
105 | @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
|
---|
106 |
|
---|
107 | mocclean:
|
---|
108 |
|
---|
109 | uiclean:
|
---|
110 |
|
---|
111 | clean:
|
---|
112 | -$(DEL_FILE) $(OBJECTS)
|
---|
113 | -$(DEL_FILE) *~ core *.core
|
---|
114 |
|
---|
115 |
|
---|
116 | ####### Sub-libraries
|
---|
117 |
|
---|
118 | distclean: clean
|
---|
119 | -$(DEL_FILE) $(TARGET) $(TARGET)
|
---|
120 |
|
---|
121 |
|
---|
122 | FORCE:
|
---|
123 |
|
---|
124 | ####### Compile
|
---|
125 |
|
---|
126 | classetest.o: classetest.cc
|
---|
127 |
|
---|
128 | mastermind.o: mastermind.cc
|
---|
129 |
|
---|
130 | oefpoint.o: oefpoint.cc
|
---|
131 |
|
---|
132 | sorteren.o: sorteren.cc
|
---|
133 |
|
---|
134 | test.o: test.cc
|
---|
135 |
|
---|
136 | test.o: test.cpp
|
---|
137 |
|
---|
138 | ####### Install
|
---|
139 |
|
---|
140 | install: all
|
---|
141 |
|
---|
142 | uninstall:
|
---|
143 |
|
---|