3dmaze / Makefile

#############################################################################
# Makefile for building: 3dmaze
# Generated by qmake (2.01a) (Qt 4.8.3) on: Sun Oct 7 20:28:35 2012
# Project:  3dmaze.pro
# Template: app
# Command: /usr/bin/qmake -o Makefile 3dmaze.pro
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -I. -I/usr/X11R6/include -I. -I.
LINK          = g++
LFLAGS        = -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1
LIBS          = $(SUBLIBS)  -L/usr/lib -L/usr/X11R6/lib64 -lQtOpenGL -lQtGui -lQtCore -lGL -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
STRIP         = strip
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -f
SYMLINK       = ln -f -s
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory

OBJECTS_DIR   = ./

####### Files

SOURCES       = main.cpp \
		mainwindow.cpp \
		mazeengine.cpp \
		mazewidget.cpp \
		renderdialog.cpp \
		renderwidget.cpp \
		sizedialog.cpp moc_mainwindow.cpp \
		moc_renderdialog.cpp \
		moc_renderwidget.cpp \
		moc_sizedialog.cpp \
		qrc_3dMazeResources.cpp
OBJECTS       = main.o \
		mainwindow.o \
		mazeengine.o \
		mazewidget.o \
		renderdialog.o \
		renderwidget.o \
		sizedialog.o \
		moc_mainwindow.o \
		moc_renderdialog.o \
		moc_renderwidget.o \
		moc_sizedialog.o \
		qrc_3dMazeResources.o
DIST          = /usr/share/qt/mkspecs/common/unix.conf \
		/usr/share/qt/mkspecs/common/linux.conf \
		/usr/share/qt/mkspecs/common/gcc-base.conf \
		/usr/share/qt/mkspecs/common/gcc-base-unix.conf \
		/usr/share/qt/mkspecs/common/g++-base.conf \
		/usr/share/qt/mkspecs/common/g++-unix.conf \
		/usr/share/qt/mkspecs/qconfig.pri \
		/usr/share/qt/mkspecs/modules/qt_phonon.pri \
		/usr/share/qt/mkspecs/modules/qt_webkit_version.pri \
		/usr/share/qt/mkspecs/features/qt_functions.prf \
		/usr/share/qt/mkspecs/features/qt_config.prf \
		/usr/share/qt/mkspecs/features/exclusive_builds.prf \
		/usr/share/qt/mkspecs/features/default_pre.prf \
		/usr/share/qt/mkspecs/features/release.prf \
		/usr/share/qt/mkspecs/features/default_post.prf \
		/usr/share/qt/mkspecs/features/unix/gdb_dwarf_index.prf \
		/usr/share/qt/mkspecs/features/warn_on.prf \
		/usr/share/qt/mkspecs/features/qt.prf \
		/usr/share/qt/mkspecs/features/unix/opengl.prf \
		/usr/share/qt/mkspecs/features/unix/thread.prf \
		/usr/share/qt/mkspecs/features/moc.prf \
		/usr/share/qt/mkspecs/features/resources.prf \
		/usr/share/qt/mkspecs/features/uic.prf \
		/usr/share/qt/mkspecs/features/yacc.prf \
		/usr/share/qt/mkspecs/features/lex.prf \
		/usr/share/qt/mkspecs/features/include_source_dir.prf \
		3dmaze.pro
QMAKE_TARGET  = 3dmaze
DESTDIR       = 
TARGET        = 3dmaze

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): ui_about.h ui_mainwindow.h ui_render.h ui_sizedialog.h $(OBJECTS)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: 3dmaze.pro  /usr/share/qt/mkspecs/linux-g++-64/qmake.conf /usr/share/qt/mkspecs/common/unix.conf \
		/usr/share/qt/mkspecs/common/linux.conf \
		/usr/share/qt/mkspecs/common/gcc-base.conf \
		/usr/share/qt/mkspecs/common/gcc-base-unix.conf \
		/usr/share/qt/mkspecs/common/g++-base.conf \
		/usr/share/qt/mkspecs/common/g++-unix.conf \
		/usr/share/qt/mkspecs/qconfig.pri \
		/usr/share/qt/mkspecs/modules/qt_phonon.pri \
		/usr/share/qt/mkspecs/modules/qt_webkit_version.pri \
		/usr/share/qt/mkspecs/features/qt_functions.prf \
		/usr/share/qt/mkspecs/features/qt_config.prf \
		/usr/share/qt/mkspecs/features/exclusive_builds.prf \
		/usr/share/qt/mkspecs/features/default_pre.prf \
		/usr/share/qt/mkspecs/features/release.prf \
		/usr/share/qt/mkspecs/features/default_post.prf \
		/usr/share/qt/mkspecs/features/unix/gdb_dwarf_index.prf \
		/usr/share/qt/mkspecs/features/warn_on.prf \
		/usr/share/qt/mkspecs/features/qt.prf \
		/usr/share/qt/mkspecs/features/unix/opengl.prf \
		/usr/share/qt/mkspecs/features/unix/thread.prf \
		/usr/share/qt/mkspecs/features/moc.prf \
		/usr/share/qt/mkspecs/features/resources.prf \
		/usr/share/qt/mkspecs/features/uic.prf \
		/usr/share/qt/mkspecs/features/yacc.prf \
		/usr/share/qt/mkspecs/features/lex.prf \
		/usr/share/qt/mkspecs/features/include_source_dir.prf \
		/usr/lib/libQtOpenGL.prl \
		/usr/lib/libQtGui.prl \
		/usr/lib/libQtCore.prl
	$(QMAKE) -o Makefile 3dmaze.pro
/usr/share/qt/mkspecs/common/unix.conf:
/usr/share/qt/mkspecs/common/linux.conf:
/usr/share/qt/mkspecs/common/gcc-base.conf:
/usr/share/qt/mkspecs/common/gcc-base-unix.conf:
/usr/share/qt/mkspecs/common/g++-base.conf:
/usr/share/qt/mkspecs/common/g++-unix.conf:
/usr/share/qt/mkspecs/qconfig.pri:
/usr/share/qt/mkspecs/modules/qt_phonon.pri:
/usr/share/qt/mkspecs/modules/qt_webkit_version.pri:
/usr/share/qt/mkspecs/features/qt_functions.prf:
/usr/share/qt/mkspecs/features/qt_config.prf:
/usr/share/qt/mkspecs/features/exclusive_builds.prf:
/usr/share/qt/mkspecs/features/default_pre.prf:
/usr/share/qt/mkspecs/features/release.prf:
/usr/share/qt/mkspecs/features/default_post.prf:
/usr/share/qt/mkspecs/features/unix/gdb_dwarf_index.prf:
/usr/share/qt/mkspecs/features/warn_on.prf:
/usr/share/qt/mkspecs/features/qt.prf:
/usr/share/qt/mkspecs/features/unix/opengl.prf:
/usr/share/qt/mkspecs/features/unix/thread.prf:
/usr/share/qt/mkspecs/features/moc.prf:
/usr/share/qt/mkspecs/features/resources.prf:
/usr/share/qt/mkspecs/features/uic.prf:
/usr/share/qt/mkspecs/features/yacc.prf:
/usr/share/qt/mkspecs/features/lex.prf:
/usr/share/qt/mkspecs/features/include_source_dir.prf:
/usr/lib/libQtOpenGL.prl:
/usr/lib/libQtGui.prl:
/usr/lib/libQtCore.prl:
qmake:  FORCE
	@$(QMAKE) -o Makefile 3dmaze.pro

dist: 
	@$(CHK_DIR_EXISTS) .tmp/3dmaze1.0.0 || $(MKDIR) .tmp/3dmaze1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/3dmaze1.0.0/ && $(COPY_FILE) --parents mainwindow.h mazeengine.h mazewidget.h renderdialog.h renderwidget.h sizedialog.h .tmp/3dmaze1.0.0/ && $(COPY_FILE) --parents 3dMazeResources.qrc .tmp/3dmaze1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mazeengine.cpp mazewidget.cpp renderdialog.cpp renderwidget.cpp sizedialog.cpp .tmp/3dmaze1.0.0/ && $(COPY_FILE) --parents about.ui mainwindow.ui render.ui sizedialog.ui .tmp/3dmaze1.0.0/ && (cd `dirname .tmp/3dmaze1.0.0` && $(TAR) 3dmaze1.0.0.tar 3dmaze1.0.0 && $(COMPRESS) 3dmaze1.0.0.tar) && $(MOVE) `dirname .tmp/3dmaze1.0.0`/3dmaze1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/3dmaze1.0.0


clean:compiler_clean 
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) $(TARGET) 
	-$(DEL_FILE) Makefile


check: first

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_mainwindow.cpp moc_renderdialog.cpp moc_renderwidget.cpp moc_sizedialog.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_mainwindow.cpp moc_renderdialog.cpp moc_renderwidget.cpp moc_sizedialog.cpp
moc_mainwindow.cpp: mazewidget.h \
		mazeengine.h \
		renderdialog.h \
		ui_render.h \
		renderwidget.h \
		mainwindow.h
	/usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp

moc_renderdialog.cpp: ui_render.h \
		renderwidget.h \
		mazeengine.h \
		renderdialog.h
	/usr/bin/moc $(DEFINES) $(INCPATH) renderdialog.h -o moc_renderdialog.cpp

moc_renderwidget.cpp: mazeengine.h \
		renderwidget.h
	/usr/bin/moc $(DEFINES) $(INCPATH) renderwidget.h -o moc_renderwidget.cpp

moc_sizedialog.cpp: sizedialog.h
	/usr/bin/moc $(DEFINES) $(INCPATH) sizedialog.h -o moc_sizedialog.cpp

compiler_rcc_make_all: qrc_3dMazeResources.cpp
compiler_rcc_clean:
	-$(DEL_FILE) qrc_3dMazeResources.cpp
qrc_3dMazeResources.cpp: 3dMazeResources.qrc \
		images/MazeSample.png \
		images/stop \
		images/texture.jpg \
		images/amaze.png \
		images/3d.png \
		images/print \
		images/setSize.png \
		images/showSolution.png \
		images/floor.jpg
	/usr/bin/rcc -name 3dMazeResources 3dMazeResources.qrc -o qrc_3dMazeResources.cpp

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: ui_about.h ui_mainwindow.h ui_render.h ui_sizedialog.h
compiler_uic_clean:
	-$(DEL_FILE) ui_about.h ui_mainwindow.h ui_render.h ui_sizedialog.h
ui_about.h: about.ui
	/usr/bin/uic about.ui -o ui_about.h

ui_mainwindow.h: mainwindow.ui \
		mazewidget.h \
		mazeengine.h
	/usr/bin/uic mainwindow.ui -o ui_mainwindow.h

ui_render.h: render.ui \
		renderwidget.h \
		mazeengine.h
	/usr/bin/uic render.ui -o ui_render.h

ui_sizedialog.h: sizedialog.ui
	/usr/bin/uic sizedialog.ui -o ui_sizedialog.h

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 compiler_rcc_clean compiler_uic_clean 

####### Compile

main.o: main.cpp mainwindow.h \
		mazewidget.h \
		mazeengine.h \
		renderdialog.h \
		ui_render.h \
		renderwidget.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp

mainwindow.o: mainwindow.cpp mainwindow.h \
		mazewidget.h \
		mazeengine.h \
		renderdialog.h \
		ui_render.h \
		renderwidget.h \
		ui_mainwindow.h \
		sizedialog.h \
		ui_about.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp

mazeengine.o: mazeengine.cpp mazeengine.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mazeengine.o mazeengine.cpp

mazewidget.o: mazewidget.cpp mazewidget.h \
		mazeengine.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mazewidget.o mazewidget.cpp

renderdialog.o: renderdialog.cpp renderdialog.h \
		ui_render.h \
		renderwidget.h \
		mazeengine.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o renderdialog.o renderdialog.cpp

renderwidget.o: renderwidget.cpp renderwidget.h \
		mazeengine.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o renderwidget.o renderwidget.cpp

sizedialog.o: sizedialog.cpp sizedialog.h \
		ui_sizedialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o sizedialog.o sizedialog.cpp

moc_mainwindow.o: moc_mainwindow.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp

moc_renderdialog.o: moc_renderdialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_renderdialog.o moc_renderdialog.cpp

moc_renderwidget.o: moc_renderwidget.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_renderwidget.o moc_renderwidget.cpp

moc_sizedialog.o: moc_sizedialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_sizedialog.o moc_sizedialog.cpp

qrc_3dMazeResources.o: qrc_3dMazeResources.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_3dMazeResources.o qrc_3dMazeResources.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.