source: liacs/pm/tmp/Makefile@ 2

Last change on this file since 2 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: 3.2 KB
Line 
1#############################################################################
2# Makefile for building: unnamed
3# Generated by qmake (1.03a) on: Fri Dec 10 16:41:09 2004
4# Project: unnamed.pro
5# Template: app
6# Command: $(QMAKE) unnamed.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.ui/ -I../tmp -I.moc/ -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 = .obj/
41
42####### Files
43
44HEADERS =
45SOURCES =
46OBJECTS = .obj/form1.o
47FORMS = form1.ui
48UICDECLS = .ui/form1.h
49UICIMPLS = .ui/form1.cpp
50SRCMOC = .moc/moc_form1.cpp
51OBJMOC = .obj/moc_form1.o
52DIST = unnamed.pro
53QMAKE_TARGET = unnamed
54DESTDIR =
55TARGET = unnamed
56
57first: all
58####### Implicit rules
59
60.SUFFIXES: .c .cpp .cc .cxx .C
61
62.cpp.o:
63 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
64
65.cc.o:
66 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
67
68.cxx.o:
69 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
70
71.C.o:
72 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
73
74.c.o:
75 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
76
77####### Build rules
78
79all: Makefile $(TARGET)
80
81$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
82 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
83
84mocables: $(SRCMOC)
85
86$(MOC):
87 ( cd $(QTDIR)/src/moc ; $(MAKE) )
88
89Makefile: unnamed.pro $(QTDIR)/mkspecs/default/qmake.conf
90 $(QMAKE) unnamed.pro
91qmake:
92 @$(QMAKE) unnamed.pro
93
94dist:
95 @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
96
97mocclean:
98 -$(DEL_FILE) $(OBJMOC)
99 -$(DEL_FILE) $(SRCMOC)
100
101uiclean:
102 -$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
103
104clean: mocclean uiclean
105 -$(DEL_FILE) $(OBJECTS)
106 -$(DEL_FILE) *~ core *.core
107
108
109####### Sub-libraries
110
111distclean: clean
112 -$(DEL_FILE) $(TARGET) $(TARGET)
113
114
115FORCE:
116
117####### Compile
118
119.ui/form1.h: form1.ui
120 $(UIC) form1.ui -o .ui/form1.h
121
122.ui/form1.cpp: .ui/form1.h form1.ui
123 $(UIC) form1.ui -i form1.h -o .ui/form1.cpp
124
125.obj/form1.o: .ui/form1.cpp .ui/form1.h
126 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/form1.o .ui/form1.cpp
127
128.obj/moc_form1.o: .moc/moc_form1.cpp .ui/form1.h
129 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/moc_form1.o .moc/moc_form1.cpp
130
131.moc/moc_form1.cpp: $(MOC) .ui/form1.h
132 $(MOC) .ui/form1.h -o .moc/moc_form1.cpp
133
134####### Install
135
136install: all
137
138uninstall:
139
Note: See TracBrowser for help on using the repository browser.