summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/chess/Makefile.in16
-rw-r--r--noncore/games/go/Makefile.in15
2 files changed, 14 insertions, 17 deletions
diff --git a/noncore/games/chess/Makefile.in b/noncore/games/chess/Makefile.in
index 7354d76..a1f2cd7 100644
--- a/noncore/games/chess/Makefile.in
+++ b/noncore/games/chess/Makefile.in
@@ -1,21 +1,21 @@
#############################################################################
####### Compiler, tools and options
CXX = $(SYSCONF_CXX) $(QT_CXX_MT)
-CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) -DQCONFIG=\"qpe\"
+CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS)
CC = $(SYSCONF_CC) $(QT_C_MT)
-CFLAGS = $(SYSCONF_CFLAGS) -DQCONFIG=\"qpe\"
-INCPATH = -I$(QPEDIR)/include
+CFLAGS = $(SYSCONF_CFLAGS)
+INCPATH = -I$(OPIEDIR)/include
LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT)
LIBS = $(SUBLIBS) -lqpe $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS) $(SYSCONF_LIBS_QTAPP)
MOC = $(SYSCONF_MOC)
UIC = $(SYSCONF_UIC)
####### Target
DESTDIR = ../bin/
VER_MAJ = 1
VER_MIN = 0
VER_PATCH = 0
TARGET = chess
@@ -58,26 +58,28 @@ OBJMOC = moc_chess.o \
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: $(DESTDIR)$(TARGET)
$(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS)
$(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
moc: $(SRCMOC)
-tmake:
- tmake chess.pro
+tmake: Makefile.in
+
+Makefile.in: chess.pro
+ tmake chess.pro -o Makefile.in
clean:
-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS)
-rm -f *~ core
-rm -f allmoc.cpp
####### Extension Modules
listpromodules:
@echo
listallmodules:
@@ -93,30 +95,28 @@ listaddonentmodules:
REQUIRES=
####### Sub-libraries
###### Combined headers
####### Compile
chess.o: chess.cpp \
- $(QPEDIR)/include/qpe/config.h \
- $(QPEDIR)/include/qpe/resource.h \
chess.h
main.o: main.cpp \
- mainwindow.h
+ chess.h
mainwindow.h: mainwindow.ui
$(UIC) mainwindow.ui -o $(INTERFACE_DECL_PATH)/mainwindow.h
mainwindow.cpp: mainwindow.ui
$(UIC) mainwindow.ui -i mainwindow.h -o mainwindow.cpp
mainwindow.o: mainwindow.cpp \
mainwindow.h \
mainwindow.ui
moc_chess.o: moc_chess.cpp \
diff --git a/noncore/games/go/Makefile.in b/noncore/games/go/Makefile.in
index 985eff0..0395dff 100644
--- a/noncore/games/go/Makefile.in
+++ b/noncore/games/go/Makefile.in
@@ -66,26 +66,28 @@ OBJMOC = moc_gowidget.o
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: $(DESTDIR)$(TARGET)
$(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS)
$(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
moc: $(SRCMOC)
-tmake:
- tmake go.pro
+tmake: Makefile.in
+
+Makefile.in: go.pro
+ tmake go.pro -o Makefile.in
clean:
-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS)
-rm -f *~ core
-rm -f allmoc.cpp
####### Extension Modules
listpromodules:
@echo
listallmodules:
@@ -124,35 +126,30 @@ goplayutils.o: goplayutils.c \
amigo.h \
go.h
killable.o: killable.c \
go.h \
goplayutils.h \
amigo.h
gowidget.o: gowidget.cpp \
gowidget.h \
amigo.h \
go.h \
- goplayutils.h \
- $(OPIEDIR)/include/qpe/config.h \
- $(OPIEDIR)/include/qpe/resource.h \
- $(OPIEDIR)/include/qpe/qpetoolbar.h \
- $(OPIEDIR)/include/qpe/qpemenubar.h
+ goplayutils.h
main.o: main.cpp \
gowidget.h \
amigo.h \
go.h \
- goplayutils.h \
- $(OPIEDIR)/include/qpe/qpeapplication.h
+ goplayutils.h
moc_gowidget.o: moc_gowidget.cpp \
gowidget.h \
amigo.h \
go.h \
goplayutils.h
moc_gowidget.cpp: gowidget.h
$(MOC) gowidget.h -o moc_gowidget.cpp