blob: 1e31a2f839b57aa7ee4aae9cb18ce118646030c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
#############################################################################
# Makefile for building calc
# Generated by tmake at 12:06, 2001/11/26
# Project: calc
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
CXXFLAGS= -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG
INCPATH = -I$(QPEDIR)/include -I$(QTDIR)/include
LINK = gcc
LFLAGS =
LIBS = $(SUBLIBS) -L$(QTDIR)/lib -lqpe -Wl,-export-dynamic -lqte
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic
TAR = tar -cf
GZIP = gzip -9f
####### Files
HEADERS = calc.h \
plugininterface.h \
instruction.h \
engine.h \
stdinstructions.h
SOURCES = calc.cpp \
main.cpp \
engine.cpp
OBJECTS = calc.o \
main.o \
engine.o
INTERFACES =
UICDECLS =
UICIMPLS =
SRCMOC = moc_calc.cpp \
moc_engine.cpp
OBJMOC = moc_calc.o \
moc_engine.o
DIST =
TARGET = calc
INTERFACE_DECL_PATH = .
####### Implicit rules
.SUFFIXES: .cpp .cxx .cc .C .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
moc: $(SRCMOC)
tmake:
tmake calc.pro
dist:
$(TAR) calc.tar calc.pro $(SOURCES) $(HEADERS) $(INTERFACES) $(DIST)
$(GZIP) calc.tar
clean:
-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) $(TARGET)
-rm -f *~ core
####### Sub-libraries
###### Combined headers
####### Compile
calc.o: calc.cpp \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/qpeapplication.h \
calc.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/qlibrary.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/qcom.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/quuid.h \
engine.h \
instruction.h \
plugininterface.h
main.o: main.cpp \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/qpeapplication.h \
calc.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/qlibrary.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/qcom.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/quuid.h \
engine.h \
instruction.h \
plugininterface.h
engine.o: engine.cpp \
engine.h \
instruction.h
moc_calc.o: moc_calc.cpp \
calc.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/qlibrary.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/qcom.h \
/home/luke/builds/2.3.2-emb/qpe/include/qpe/quuid.h \
engine.h \
instruction.h \
plugininterface.h
moc_engine.o: moc_engine.cpp \
engine.h \
instruction.h
moc_calc.cpp: calc.h
$(MOC) calc.h -o moc_calc.cpp
moc_engine.cpp: engine.h
$(MOC) engine.h -o moc_engine.cpp
|