329 lines
11 KiB
Makefile
329 lines
11 KiB
Makefile
#############################################################################
|
|
# Makefile for building: viergewinnt-qt
|
|
# Generated by qmake (2.01a) (Qt 4.4.3) on: Sa Nov 1 16:10:13 2008
|
|
# Project: viergewinnt-qt.pro
|
|
# Template: app
|
|
# Command: /usr/bin/qmake -unix -o Makefile viergewinnt-qt.pro
|
|
#############################################################################
|
|
|
|
####### Compiler, tools and options
|
|
|
|
CC = gcc
|
|
CXX = g++
|
|
DEFINES = -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
|
|
CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
|
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
|
|
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I.
|
|
LINK = g++
|
|
LFLAGS =
|
|
LIBS = $(SUBLIBS) -L/usr/lib -lQtGui -lQtNetwork -lQtCore -lpthread
|
|
AR = ar cqs
|
|
RANLIB =
|
|
QMAKE = /usr/bin/qmake
|
|
TAR = tar -cf
|
|
COMPRESS = gzip -9f
|
|
COPY = cp -f
|
|
SED = sed
|
|
COPY_FILE = $(COPY)
|
|
COPY_DIR = $(COPY) -r
|
|
INSTALL_FILE = install -m 644 -p
|
|
INSTALL_DIR = $(COPY_DIR)
|
|
INSTALL_PROGRAM = install -m 755 -p
|
|
DEL_FILE = rm -f
|
|
SYMLINK = ln -sf
|
|
DEL_DIR = rmdir
|
|
MOVE = mv -f
|
|
CHK_DIR_EXISTS= test -d
|
|
MKDIR = mkdir -p
|
|
|
|
####### Output directory
|
|
|
|
OBJECTS_DIR = ./
|
|
|
|
####### Files
|
|
|
|
SOURCES = about.cpp \
|
|
creategame.cpp \
|
|
findserver.cpp \
|
|
main.cpp \
|
|
newgame.cpp \
|
|
playerwait.cpp \
|
|
renderarea.cpp \
|
|
selectmaster.cpp \
|
|
viergewinnt.cpp moc_about.cpp \
|
|
moc_creategame.cpp \
|
|
moc_findserver.cpp \
|
|
moc_newgame.cpp \
|
|
moc_playerwait.cpp \
|
|
moc_renderarea.cpp \
|
|
moc_selectmaster.cpp \
|
|
moc_viergewinnt.cpp
|
|
OBJECTS = about.o \
|
|
creategame.o \
|
|
findserver.o \
|
|
main.o \
|
|
newgame.o \
|
|
playerwait.o \
|
|
renderarea.o \
|
|
selectmaster.o \
|
|
viergewinnt.o \
|
|
moc_about.o \
|
|
moc_creategame.o \
|
|
moc_findserver.o \
|
|
moc_newgame.o \
|
|
moc_playerwait.o \
|
|
moc_renderarea.o \
|
|
moc_selectmaster.o \
|
|
moc_viergewinnt.o
|
|
DIST = /usr/share/qt4/mkspecs/common/g++.conf \
|
|
/usr/share/qt4/mkspecs/common/unix.conf \
|
|
/usr/share/qt4/mkspecs/common/linux.conf \
|
|
/usr/share/qt4/mkspecs/qconfig.pri \
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
|
/usr/share/qt4/mkspecs/features/release.prf \
|
|
/usr/share/qt4/mkspecs/features/default_post.prf \
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
|
/usr/share/qt4/mkspecs/features/qt.prf \
|
|
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
|
/usr/share/qt4/mkspecs/features/moc.prf \
|
|
/usr/share/qt4/mkspecs/features/resources.prf \
|
|
/usr/share/qt4/mkspecs/features/uic.prf \
|
|
/usr/share/qt4/mkspecs/features/yacc.prf \
|
|
/usr/share/qt4/mkspecs/features/lex.prf \
|
|
viergewinnt-qt.pro
|
|
QMAKE_TARGET = viergewinnt-qt
|
|
DESTDIR =
|
|
TARGET = viergewinnt-qt
|
|
|
|
first: all
|
|
####### Implicit rules
|
|
|
|
.SUFFIXES: .o .c .cpp .cc .cxx .C
|
|
|
|
.cpp.o:
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
|
|
|
.cc.o:
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
|
|
|
.cxx.o:
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
|
|
|
.C.o:
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
|
|
|
|
.c.o:
|
|
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
|
|
|
|
####### Build rules
|
|
|
|
all: Makefile $(TARGET)
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
|
|
|
Makefile: viergewinnt-qt.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
|
|
/usr/share/qt4/mkspecs/common/unix.conf \
|
|
/usr/share/qt4/mkspecs/common/linux.conf \
|
|
/usr/share/qt4/mkspecs/qconfig.pri \
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
|
/usr/share/qt4/mkspecs/features/release.prf \
|
|
/usr/share/qt4/mkspecs/features/default_post.prf \
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
|
/usr/share/qt4/mkspecs/features/qt.prf \
|
|
/usr/share/qt4/mkspecs/features/unix/thread.prf \
|
|
/usr/share/qt4/mkspecs/features/moc.prf \
|
|
/usr/share/qt4/mkspecs/features/resources.prf \
|
|
/usr/share/qt4/mkspecs/features/uic.prf \
|
|
/usr/share/qt4/mkspecs/features/yacc.prf \
|
|
/usr/share/qt4/mkspecs/features/lex.prf \
|
|
/usr/lib/libQtGui.prl \
|
|
/usr/lib/libQtNetwork.prl \
|
|
/usr/lib/libQtCore.prl
|
|
$(QMAKE) -unix -o Makefile viergewinnt-qt.pro
|
|
/usr/share/qt4/mkspecs/common/g++.conf:
|
|
/usr/share/qt4/mkspecs/common/unix.conf:
|
|
/usr/share/qt4/mkspecs/common/linux.conf:
|
|
/usr/share/qt4/mkspecs/qconfig.pri:
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf:
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf:
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf:
|
|
/usr/share/qt4/mkspecs/features/release.prf:
|
|
/usr/share/qt4/mkspecs/features/default_post.prf:
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf:
|
|
/usr/share/qt4/mkspecs/features/qt.prf:
|
|
/usr/share/qt4/mkspecs/features/unix/thread.prf:
|
|
/usr/share/qt4/mkspecs/features/moc.prf:
|
|
/usr/share/qt4/mkspecs/features/resources.prf:
|
|
/usr/share/qt4/mkspecs/features/uic.prf:
|
|
/usr/share/qt4/mkspecs/features/yacc.prf:
|
|
/usr/share/qt4/mkspecs/features/lex.prf:
|
|
/usr/lib/libQtGui.prl:
|
|
/usr/lib/libQtNetwork.prl:
|
|
/usr/lib/libQtCore.prl:
|
|
qmake: FORCE
|
|
@$(QMAKE) -unix -o Makefile viergewinnt-qt.pro
|
|
|
|
dist:
|
|
@$(CHK_DIR_EXISTS) .tmp/viergewinnt-qt1.0.0 || $(MKDIR) .tmp/viergewinnt-qt1.0.0
|
|
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents about.h creategame.h findserver.h newgame.h playerwait.h renderarea.h selectmaster.h viergewinnt.h .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents about.cpp creategame.cpp findserver.cpp main.cpp newgame.cpp playerwait.cpp renderarea.cpp selectmaster.cpp viergewinnt.cpp .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents viergewinnt-qt_en.ts .tmp/viergewinnt-qt1.0.0/ && (cd `dirname .tmp/viergewinnt-qt1.0.0` && $(TAR) viergewinnt-qt1.0.0.tar viergewinnt-qt1.0.0 && $(COMPRESS) viergewinnt-qt1.0.0.tar) && $(MOVE) `dirname .tmp/viergewinnt-qt1.0.0`/viergewinnt-qt1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/viergewinnt-qt1.0.0
|
|
|
|
|
|
clean:compiler_clean
|
|
-$(DEL_FILE) $(OBJECTS)
|
|
-$(DEL_FILE) *~ core *.core
|
|
|
|
|
|
####### Sub-libraries
|
|
|
|
distclean: clean
|
|
-$(DEL_FILE) $(TARGET)
|
|
-$(DEL_FILE) Makefile
|
|
|
|
|
|
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
|
|
|
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
|
|
|
compiler_moc_header_make_all: moc_about.cpp moc_creategame.cpp moc_findserver.cpp moc_newgame.cpp moc_playerwait.cpp moc_renderarea.cpp moc_selectmaster.cpp moc_viergewinnt.cpp
|
|
compiler_moc_header_clean:
|
|
-$(DEL_FILE) moc_about.cpp moc_creategame.cpp moc_findserver.cpp moc_newgame.cpp moc_playerwait.cpp moc_renderarea.cpp moc_selectmaster.cpp moc_viergewinnt.cpp
|
|
moc_about.cpp: about.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) about.h -o moc_about.cpp
|
|
|
|
moc_creategame.cpp: creategame.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) creategame.h -o moc_creategame.cpp
|
|
|
|
moc_findserver.cpp: selectmaster.h \
|
|
creategame.h \
|
|
viergewinnt.h \
|
|
newgame.h \
|
|
playerwait.h \
|
|
about.h \
|
|
findserver.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) findserver.h -o moc_findserver.cpp
|
|
|
|
moc_newgame.cpp: newgame.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) newgame.h -o moc_newgame.cpp
|
|
|
|
moc_playerwait.cpp: playerwait.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) playerwait.h -o moc_playerwait.cpp
|
|
|
|
moc_renderarea.cpp: viergewinnt.h \
|
|
newgame.h \
|
|
playerwait.h \
|
|
renderarea.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) renderarea.h -o moc_renderarea.cpp
|
|
|
|
moc_selectmaster.cpp: selectmaster.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) selectmaster.h -o moc_selectmaster.cpp
|
|
|
|
moc_viergewinnt.cpp: newgame.h \
|
|
playerwait.h \
|
|
viergewinnt.h
|
|
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) viergewinnt.h -o moc_viergewinnt.cpp
|
|
|
|
compiler_rcc_make_all:
|
|
compiler_rcc_clean:
|
|
compiler_image_collection_make_all: qmake_image_collection.cpp
|
|
compiler_image_collection_clean:
|
|
-$(DEL_FILE) qmake_image_collection.cpp
|
|
compiler_moc_source_make_all:
|
|
compiler_moc_source_clean:
|
|
compiler_uic_make_all:
|
|
compiler_uic_clean:
|
|
compiler_yacc_decl_make_all:
|
|
compiler_yacc_decl_clean:
|
|
compiler_yacc_impl_make_all:
|
|
compiler_yacc_impl_clean:
|
|
compiler_lex_make_all:
|
|
compiler_lex_clean:
|
|
compiler_clean: compiler_moc_header_clean
|
|
|
|
####### Compile
|
|
|
|
about.o: about.cpp about.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o about.o about.cpp
|
|
|
|
creategame.o: creategame.cpp creategame.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o creategame.o creategame.cpp
|
|
|
|
findserver.o: findserver.cpp findserver.h \
|
|
selectmaster.h \
|
|
creategame.h \
|
|
viergewinnt.h \
|
|
newgame.h \
|
|
playerwait.h \
|
|
about.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o findserver.o findserver.cpp
|
|
|
|
main.o: main.cpp findserver.h \
|
|
selectmaster.h \
|
|
creategame.h \
|
|
viergewinnt.h \
|
|
newgame.h \
|
|
playerwait.h \
|
|
about.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
|
|
|
|
newgame.o: newgame.cpp newgame.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o newgame.o newgame.cpp
|
|
|
|
playerwait.o: playerwait.cpp playerwait.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o playerwait.o playerwait.cpp
|
|
|
|
renderarea.o: renderarea.cpp renderarea.h \
|
|
viergewinnt.h \
|
|
newgame.h \
|
|
playerwait.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o renderarea.o renderarea.cpp
|
|
|
|
selectmaster.o: selectmaster.cpp selectmaster.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o selectmaster.o selectmaster.cpp
|
|
|
|
viergewinnt.o: viergewinnt.cpp viergewinnt.h \
|
|
newgame.h \
|
|
playerwait.h \
|
|
renderarea.h
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o viergewinnt.o viergewinnt.cpp
|
|
|
|
moc_about.o: moc_about.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_about.o moc_about.cpp
|
|
|
|
moc_creategame.o: moc_creategame.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_creategame.o moc_creategame.cpp
|
|
|
|
moc_findserver.o: moc_findserver.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_findserver.o moc_findserver.cpp
|
|
|
|
moc_newgame.o: moc_newgame.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_newgame.o moc_newgame.cpp
|
|
|
|
moc_playerwait.o: moc_playerwait.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_playerwait.o moc_playerwait.cpp
|
|
|
|
moc_renderarea.o: moc_renderarea.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_renderarea.o moc_renderarea.cpp
|
|
|
|
moc_selectmaster.o: moc_selectmaster.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_selectmaster.o moc_selectmaster.cpp
|
|
|
|
moc_viergewinnt.o: moc_viergewinnt.cpp
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_viergewinnt.o moc_viergewinnt.cpp
|
|
|
|
####### Install
|
|
|
|
install: FORCE
|
|
|
|
uninstall: FORCE
|
|
|
|
FORCE:
|
|
|