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