source: liacs/pm/Makefile@ 9

Last change on this file since 9 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

  • Property svn:executable set to *
File size: 2.8 KB
Line 
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
11CC = gcc
12CXX = g++
13LEX = flex
14YACC = yacc
15CFLAGS = -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
16CXXFLAGS = -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
17LEXFLAGS =
18YACCFLAGS= -d
19INCPATH = -I$(QTDIR)/include -I$(QTDIR)/mkspecs/default
20LINK = g++
21LFLAGS =
22LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
23AR = ar cqs
24RANLIB =
25MOC = $(QTDIR)/bin/moc
26UIC = $(QTDIR)/bin/uic
27QMAKE = qmake
28TAR = tar -cf
29GZIP = gzip -9f
30COPY = cp -f
31COPY_FILE= $(COPY) -p
32COPY_DIR = $(COPY) -pR
33DEL_FILE = rm -f
34SYMLINK = ln -sf
35DEL_DIR = rmdir
36MOVE = mv
37
38####### Output directory
39
40OBJECTS_DIR = ./
41
42####### Files
43
44HEADERS =
45SOURCES = classetest.cc \
46 mastermind.cc \
47 oefpoint.cc \
48 sorteren.cc \
49 test.cc \
50 test.cpp
51OBJECTS = classetest.o \
52 mastermind.o \
53 oefpoint.o \
54 sorteren.o \
55 test.o \
56 test.o
57FORMS =
58UICDECLS =
59UICIMPLS =
60SRCMOC =
61OBJMOC =
62DIST = pm1.pro
63QMAKE_TARGET = pm1
64DESTDIR =
65TARGET = pm1
66
67first: 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
89all: Makefile $(TARGET)
90
91$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
92 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
93
94mocables: $(SRCMOC)
95
96$(MOC):
97 ( cd $(QTDIR)/src/moc ; $(MAKE) )
98
99Makefile: pm1.pro $(QTDIR)/mkspecs/default/qmake.conf
100 $(QMAKE) pm1.pro
101qmake:
102 @$(QMAKE) pm1.pro
103
104dist:
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
107mocclean:
108
109uiclean:
110
111clean:
112 -$(DEL_FILE) $(OBJECTS)
113 -$(DEL_FILE) *~ core *.core
114
115
116####### Sub-libraries
117
118distclean: clean
119 -$(DEL_FILE) $(TARGET) $(TARGET)
120
121
122FORCE:
123
124####### Compile
125
126classetest.o: classetest.cc
127
128mastermind.o: mastermind.cc
129
130oefpoint.o: oefpoint.cc
131
132sorteren.o: sorteren.cc
133
134test.o: test.cc
135
136test.o: test.cpp
137
138####### Install
139
140install: all
141
142uninstall:
143
Note: See TracBrowser for help on using the repository browser.