209 lines
18 KiB
Makefile
209 lines
18 KiB
Makefile
|
#############################################################################
|
||
|
# Makefile for building: DesignPatterns
|
||
|
# Generated by qmake (3.0) (Qt 5.7.1)
|
||
|
# Project: ..\DesignPatterns.pro
|
||
|
# Template: app
|
||
|
#############################################################################
|
||
|
|
||
|
MAKEFILE = Makefile.Debug
|
||
|
|
||
|
####### Compiler, tools and options
|
||
|
|
||
|
CC = cl
|
||
|
CXX = cl
|
||
|
DEFINES = -DUNICODE -DWIN32 -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_CORE_LIB
|
||
|
CFLAGS = -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zi -MDd -W3 -w44456 -w44457 -w44458 /Fddebug\DesignPatterns.vc.pdb $(DEFINES)
|
||
|
CXXFLAGS = -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\DesignPatterns.vc.pdb $(DEFINES)
|
||
|
INCPATH = -I..\..\DesignPatterns -I. -ID:\Qt5.7.1-64\5.7\msvc2015_64\include -ID:\Qt5.7.1-64\5.7\msvc2015_64\include\QtCore -Idebug -ID:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\win32-msvc2015
|
||
|
LINKER = link
|
||
|
LFLAGS = /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"
|
||
|
LIBS = /LIBPATH:D:\Qt5.7.1-64\5.7\msvc2015_64\lib D:\Qt5.7.1-64\5.7\msvc2015_64\lib\Qt5Cored.lib
|
||
|
QMAKE = D:\Qt5.7.1-64\5.7\msvc2015_64\bin\qmake.exe
|
||
|
IDC = idc
|
||
|
IDL = midl
|
||
|
ZIP = zip -r -9
|
||
|
DEF_FILE =
|
||
|
RES_FILE =
|
||
|
COPY = copy /y
|
||
|
SED = $(QMAKE) -install sed
|
||
|
COPY_FILE = copy /y
|
||
|
COPY_DIR = xcopy /s /q /y /i
|
||
|
DEL_FILE = del
|
||
|
DEL_DIR = rmdir
|
||
|
MOVE = move
|
||
|
CHK_DIR_EXISTS= if not exist
|
||
|
MKDIR = mkdir
|
||
|
INSTALL_FILE = copy /y
|
||
|
INSTALL_PROGRAM = copy /y
|
||
|
INSTALL_DIR = xcopy /s /q /y /i
|
||
|
|
||
|
####### Output directory
|
||
|
|
||
|
OBJECTS_DIR = debug
|
||
|
|
||
|
####### Files
|
||
|
|
||
|
SOURCES = ..\main.cpp
|
||
|
OBJECTS = debug\main.obj
|
||
|
|
||
|
DIST = ..\factorypattern\interface.h \
|
||
|
..\factorypattern\shapefactory.h \
|
||
|
..\singletonpattern\singletonpattern.h \
|
||
|
..\proxypattern\interface.h \
|
||
|
..\templatepattern\interface.h \
|
||
|
..\flyweightpattern\interface.h \
|
||
|
..\flyweightpattern\shapefactory.h \
|
||
|
..\visitorpattern\father.h \
|
||
|
..\visitorpattern\son.h \
|
||
|
..\mediatorpattern\chatroom.h \
|
||
|
..\mediatorpattern\usr.h \
|
||
|
..\observerpattern\interface.h \
|
||
|
..\observerpattern\subject.h \
|
||
|
..\statepattern\memento.h \
|
||
|
..\statepattern\originator.h \
|
||
|
..\statepattern\caretaker.h \
|
||
|
..\statepattern\context.h \
|
||
|
..\statepattern\interface.h \
|
||
|
..\commandpattern\stock.h \
|
||
|
..\commandpattern\interface.h \
|
||
|
..\commandpattern\broker.h \
|
||
|
..\decoratorpattern\first_interface.h \
|
||
|
..\decoratorpattern\second_interface.h \
|
||
|
..\bridgepattern\first_interface.h \
|
||
|
..\bridgepattern\second_interface.h \
|
||
|
..\iteratorpattern\interface.h \
|
||
|
..\compositepattern\employee.h \
|
||
|
..\facadepattern\interface.h \
|
||
|
..\facadepattern\shapemaker.h \
|
||
|
..\adapterpattern\first_interface.h \
|
||
|
..\adapterpattern\second_interface.h \
|
||
|
..\abstractfactorypattern\interface.h \
|
||
|
..\abstractfactorypattern\abstractfactory.h \
|
||
|
..\abstractfactorypattern\factoryproducer.h \
|
||
|
..\builderpattern\packinterface.h \
|
||
|
..\builderpattern\foodinterface.h \
|
||
|
..\builderpattern\meal.h \
|
||
|
..\builderpattern\meakbuilder.h \
|
||
|
..\prototypepattern\interface.h \
|
||
|
..\interpreterpattern\interface.h \
|
||
|
..\chainofresponsibilitypattern\interface.h \
|
||
|
..\mementopattern\memento.h \
|
||
|
..\mementopattern\originator.h \
|
||
|
..\mementopattern\caretaker.h ..\main.cpp
|
||
|
QMAKE_TARGET = DesignPatterns
|
||
|
DESTDIR = debug\ #avoid trailing-slash linebreak
|
||
|
TARGET = DesignPatterns.exe
|
||
|
DESTDIR_TARGET = debug\DesignPatterns.exe
|
||
|
|
||
|
####### Implicit rules
|
||
|
|
||
|
.SUFFIXES: .c .cpp .cc .cxx
|
||
|
|
||
|
{..}.cpp{debug\}.obj::
|
||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
|
||
|
$<
|
||
|
<<
|
||
|
|
||
|
{..}.cc{debug\}.obj::
|
||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
|
||
|
$<
|
||
|
<<
|
||
|
|
||
|
{..}.cxx{debug\}.obj::
|
||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
|
||
|
$<
|
||
|
<<
|
||
|
|
||
|
{..}.c{debug\}.obj::
|
||
|
$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
|
||
|
$<
|
||
|
<<
|
||
|
|
||
|
{.}.cpp{debug\}.obj::
|
||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
|
||
|
$<
|
||
|
<<
|
||
|
|
||
|
{.}.cc{debug\}.obj::
|
||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
|
||
|
$<
|
||
|
<<
|
||
|
|
||
|
{.}.cxx{debug\}.obj::
|
||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
|
||
|
$<
|
||
|
<<
|
||
|
|
||
|
{.}.c{debug\}.obj::
|
||
|
$(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<<
|
||
|
$<
|
||
|
<<
|
||
|
|
||
|
####### Build rules
|
||
|
|
||
|
first: all
|
||
|
all: Makefile.Debug $(DESTDIR_TARGET)
|
||
|
|
||
|
$(DESTDIR_TARGET): $(OBJECTS)
|
||
|
$(LINKER) $(LFLAGS) /MANIFEST:embed /OUT:$(DESTDIR_TARGET) @<<
|
||
|
$(OBJECTS) $(LIBS)
|
||
|
<<
|
||
|
|
||
|
qmake: FORCE
|
||
|
@$(QMAKE) -spec win32-msvc2015 -o Makefile.Debug ..\DesignPatterns.pro
|
||
|
|
||
|
qmake_all: FORCE
|
||
|
|
||
|
dist:
|
||
|
$(ZIP) DesignPatterns.zip $(SOURCES) $(DIST) ..\DesignPatterns.pro D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\features\spec_pre.prf D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\common\angle.conf D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\common\msvc-base.conf D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\common\msvc-desktop.conf D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\qconfig.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dcore.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dcore_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dextras.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dextras_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dinput.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dinput_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dlogic.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dlogic_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dquick.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dquick_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dquickextras.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dquickextras_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dquickinput.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dquickinput_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dquickrender.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3dquickrender_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3drender.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_3drender_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_axbase.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_axbase_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_axcontainer.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_axcontainer_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_axserver.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_axserver_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_bluetooth.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_bluetooth_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_bootstrap_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_charts.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_charts_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_clucene_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_concurrent.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_concurrent_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_core.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_core_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_datavisualization.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_datavisualization_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_dbus.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_dbus_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_designer.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_designer_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_designercomponents_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_gamepad.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_gamepad_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_gui.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_gui_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_help.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_help_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_location.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_location_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_multimedia.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_multimedia_private.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_multimediawidgets.pri D:\Qt5.7.1-64\5.7\msvc2015_64\mkspecs\modules\qt_lib_multimedia
|
||
|
|
||
|
clean: compiler_clean
|
||
|
-$(DEL_FILE) debug\main.obj
|
||
|
-$(DEL_FILE) debug\DesignPatterns.exp debug\DesignPatterns.vc.pdb debug\DesignPatterns.ilk debug\DesignPatterns.idb
|
||
|
|
||
|
distclean: clean
|
||
|
-$(DEL_FILE) debug\DesignPatterns.lib debug\DesignPatterns.pdb
|
||
|
-$(DEL_FILE) $(DESTDIR_TARGET)
|
||
|
-$(DEL_FILE) Makefile.Debug
|
||
|
|
||
|
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
||
|
|
||
|
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
||
|
|
||
|
check: first
|
||
|
|
||
|
benchmark: first
|
||
|
|
||
|
compiler_no_pch_compiler_make_all:
|
||
|
compiler_no_pch_compiler_clean:
|
||
|
compiler_rcc_make_all:
|
||
|
compiler_rcc_clean:
|
||
|
compiler_moc_header_make_all:
|
||
|
compiler_moc_header_clean:
|
||
|
compiler_moc_source_make_all:
|
||
|
compiler_moc_source_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:
|
||
|
|
||
|
|
||
|
|
||
|
####### Compile
|
||
|
|
||
|
debug\main.obj: ..\main.cpp ../mementopattern/originator.h \
|
||
|
../mementopattern/memento.h \
|
||
|
../mementopattern/caretaker.h
|
||
|
|
||
|
####### Install
|
||
|
|
||
|
install: FORCE
|
||
|
|
||
|
uninstall: FORCE
|
||
|
|
||
|
FORCE:
|
||
|
|