summaryrefslogtreecommitdiff
path: root/noncore/tools/calc2/Makefile
Side-by-side diff
Diffstat (limited to 'noncore/tools/calc2/Makefile') (more/less context) (ignore 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 @@
+#############################################################################
+# 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
+