units
This commit is contained in:
@@ -16,7 +16,7 @@ CC = gcc
|
||||
CXX = g++
|
||||
DEFINES = -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
|
||||
CFLAGS = -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC $(DEFINES)
|
||||
CXXFLAGS = -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC $(DEFINES)
|
||||
CXXFLAGS = -pipe -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC $(DEFINES)
|
||||
INCPATH = -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++
|
||||
QMAKE = /usr/lib/qt5/bin/qmake
|
||||
DEL_FILE = rm -f
|
||||
@@ -58,7 +58,14 @@ SOURCES = main.cpp \
|
||||
vertex.cpp \
|
||||
tile.cpp \
|
||||
tilevertexinfo.cpp \
|
||||
face.cpp qrc_shaders.cpp \
|
||||
face.cpp \
|
||||
player.cpp \
|
||||
yamlparser.cpp \
|
||||
unitconfig.cpp \
|
||||
pathfinder.cpp \
|
||||
unit.cpp \
|
||||
gamemanager.cpp \
|
||||
unitrenderer.cpp qrc_shaders.cpp \
|
||||
moc_mainwindow.cpp
|
||||
OBJECTS = main.o \
|
||||
mainwindow.o \
|
||||
@@ -67,10 +74,19 @@ OBJECTS = main.o \
|
||||
tile.o \
|
||||
tilevertexinfo.o \
|
||||
face.o \
|
||||
player.o \
|
||||
yamlparser.o \
|
||||
unitconfig.o \
|
||||
pathfinder.o \
|
||||
unit.o \
|
||||
gamemanager.o \
|
||||
unitrenderer.o \
|
||||
qrc_shaders.o \
|
||||
moc_mainwindow.o
|
||||
DIST = shaders/simple.vert \
|
||||
shaders/simple.frag \
|
||||
shaders/unit.vert \
|
||||
shaders/unit.frag \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/unix.conf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/linux.conf \
|
||||
@@ -137,6 +153,7 @@ DIST = shaders/simple.vert \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf \
|
||||
.qmake.stash \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf \
|
||||
@@ -164,13 +181,28 @@ DIST = shaders/simple.vert \
|
||||
terrain.h \
|
||||
tilevertexinfo.h \
|
||||
matrix2d.h \
|
||||
face.h main.cpp \
|
||||
face.h \
|
||||
player.h \
|
||||
yamlparser.h \
|
||||
unitconfig.h \
|
||||
pathfinder.h \
|
||||
unit.h \
|
||||
city.h \
|
||||
gamemanager.h \
|
||||
unitrenderer.h main.cpp \
|
||||
mainwindow.cpp \
|
||||
qscenerenderer.cpp \
|
||||
vertex.cpp \
|
||||
tile.cpp \
|
||||
tilevertexinfo.cpp \
|
||||
face.cpp
|
||||
face.cpp \
|
||||
player.cpp \
|
||||
yamlparser.cpp \
|
||||
unitconfig.cpp \
|
||||
pathfinder.cpp \
|
||||
unit.cpp \
|
||||
gamemanager.cpp \
|
||||
unitrenderer.cpp
|
||||
QMAKE_TARGET = tiletest
|
||||
DESTDIR =
|
||||
TARGET = tiletest
|
||||
@@ -248,6 +280,7 @@ Makefile: tiletest.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.con
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf \
|
||||
.qmake.stash \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf \
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf \
|
||||
@@ -337,6 +370,7 @@ Makefile: tiletest.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.con
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf:
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf:
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf:
|
||||
.qmake.stash:
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf:
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf:
|
||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf:
|
||||
@@ -375,8 +409,8 @@ distdir: FORCE
|
||||
$(COPY_FILE) --parents $(DIST) $(DISTDIR)/
|
||||
$(COPY_FILE) --parents shaders.qrc $(DISTDIR)/
|
||||
$(COPY_FILE) --parents /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp $(DISTDIR)/
|
||||
$(COPY_FILE) --parents mainwindow.h qscenerenderer.h vertex.h tile.h terrain.h tilevertexinfo.h matrix2d.h face.h $(DISTDIR)/
|
||||
$(COPY_FILE) --parents main.cpp mainwindow.cpp qscenerenderer.cpp vertex.cpp tile.cpp tilevertexinfo.cpp face.cpp $(DISTDIR)/
|
||||
$(COPY_FILE) --parents mainwindow.h qscenerenderer.h vertex.h tile.h terrain.h tilevertexinfo.h matrix2d.h face.h player.h yamlparser.h unitconfig.h pathfinder.h unit.h city.h gamemanager.h unitrenderer.h $(DISTDIR)/
|
||||
$(COPY_FILE) --parents main.cpp mainwindow.cpp qscenerenderer.cpp vertex.cpp tile.cpp tilevertexinfo.cpp face.cpp player.cpp yamlparser.cpp unitconfig.cpp pathfinder.cpp unit.cpp gamemanager.cpp unitrenderer.cpp $(DISTDIR)/
|
||||
$(COPY_FILE) --parents mainwindow.ui $(DISTDIR)/
|
||||
|
||||
|
||||
@@ -414,7 +448,7 @@ compiler_moc_predefs_make_all: moc_predefs.h
|
||||
compiler_moc_predefs_clean:
|
||||
-$(DEL_FILE) moc_predefs.h
|
||||
moc_predefs.h: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
|
||||
g++ -pipe -O2 -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
|
||||
g++ -pipe -O2 -std=gnu++1z -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
|
||||
|
||||
compiler_moc_header_make_all: moc_mainwindow.cpp
|
||||
compiler_moc_header_clean:
|
||||
@@ -439,7 +473,13 @@ ui_mainwindow.h: mainwindow.ui \
|
||||
vertex.h \
|
||||
face.h \
|
||||
tilevertexinfo.h \
|
||||
matrix2d.h
|
||||
matrix2d.h \
|
||||
unitrenderer.h \
|
||||
unit.h \
|
||||
unitconfig.h \
|
||||
player.h \
|
||||
city.h \
|
||||
gamemanager.h
|
||||
/usr/lib/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h
|
||||
|
||||
compiler_yacc_decl_make_all:
|
||||
@@ -456,7 +496,20 @@ main.o: main.cpp mainwindow.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
|
||||
|
||||
mainwindow.o: mainwindow.cpp mainwindow.h \
|
||||
ui_mainwindow.h
|
||||
ui_mainwindow.h \
|
||||
qscenerenderer.h \
|
||||
terrain.h \
|
||||
tile.h \
|
||||
vertex.h \
|
||||
face.h \
|
||||
tilevertexinfo.h \
|
||||
matrix2d.h \
|
||||
unitrenderer.h \
|
||||
unit.h \
|
||||
unitconfig.h \
|
||||
player.h \
|
||||
city.h \
|
||||
gamemanager.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
|
||||
|
||||
qscenerenderer.o: qscenerenderer.cpp qscenerenderer.h \
|
||||
@@ -465,7 +518,14 @@ qscenerenderer.o: qscenerenderer.cpp qscenerenderer.h \
|
||||
vertex.h \
|
||||
face.h \
|
||||
tilevertexinfo.h \
|
||||
matrix2d.h
|
||||
matrix2d.h \
|
||||
unitrenderer.h \
|
||||
unit.h \
|
||||
unitconfig.h \
|
||||
player.h \
|
||||
city.h \
|
||||
gamemanager.h \
|
||||
pathfinder.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qscenerenderer.o qscenerenderer.cpp
|
||||
|
||||
vertex.o: vertex.cpp vertex.h \
|
||||
@@ -479,7 +539,13 @@ tile.o: tile.cpp tile.h \
|
||||
tilevertexinfo.h \
|
||||
terrain.h \
|
||||
matrix2d.h \
|
||||
qscenerenderer.h
|
||||
qscenerenderer.h \
|
||||
unitrenderer.h \
|
||||
unit.h \
|
||||
unitconfig.h \
|
||||
player.h \
|
||||
city.h \
|
||||
gamemanager.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tile.o tile.cpp
|
||||
|
||||
tilevertexinfo.o: tilevertexinfo.cpp tilevertexinfo.h \
|
||||
@@ -492,6 +558,48 @@ face.o: face.cpp face.h \
|
||||
tilevertexinfo.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o face.o face.cpp
|
||||
|
||||
player.o: player.cpp player.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o player.o player.cpp
|
||||
|
||||
yamlparser.o: yamlparser.cpp yamlparser.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o yamlparser.o yamlparser.cpp
|
||||
|
||||
unitconfig.o: unitconfig.cpp unitconfig.h \
|
||||
yamlparser.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o unitconfig.o unitconfig.cpp
|
||||
|
||||
pathfinder.o: pathfinder.cpp pathfinder.h \
|
||||
terrain.h \
|
||||
matrix2d.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o pathfinder.o pathfinder.cpp
|
||||
|
||||
unit.o: unit.cpp unit.h \
|
||||
unitconfig.h \
|
||||
terrain.h \
|
||||
matrix2d.h \
|
||||
pathfinder.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o unit.o unit.cpp
|
||||
|
||||
gamemanager.o: gamemanager.cpp gamemanager.h \
|
||||
player.h \
|
||||
unitconfig.h \
|
||||
unit.h \
|
||||
terrain.h \
|
||||
matrix2d.h \
|
||||
city.h \
|
||||
pathfinder.h \
|
||||
yamlparser.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o gamemanager.o gamemanager.cpp
|
||||
|
||||
unitrenderer.o: unitrenderer.cpp unitrenderer.h \
|
||||
unit.h \
|
||||
unitconfig.h \
|
||||
terrain.h \
|
||||
matrix2d.h \
|
||||
player.h \
|
||||
city.h
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o unitrenderer.o unitrenderer.cpp
|
||||
|
||||
qrc_shaders.o: qrc_shaders.cpp
|
||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_shaders.o qrc_shaders.cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user