#############################################################################
# Makefile for building: qtcurve
# Generated by qmake (2.01a) (Qt 4.7.4) on: mar 14. mar 21:13:09 2017
# Project:  qtcurve.pro
# Template: lib
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -Dqtcurve_EXPORTS -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
CFLAGS        = -O2 -w $(DEFINES)
CXXFLAGS      = -O2 -w -frtti -fexceptions -mthreads $(DEFINES)
INCPATH       = -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtCore" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\QtGui" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include" -I"." -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"release" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
LINK        =        g++
LFLAGS        =        -Wl,-s -mthreads -shared -Wl,--out-implib,\plugins\styles\libqtcurve.a
LIBS        =        -L"c:\QtSDK\Desktop\Qt\4.7.4\mingw\lib" -lQtGui4 -lQtCore4 
QMAKE         = c:\qtsdk\desktop\qt\4.7.4\mingw\bin\qmake.exe
IDC           = c:\QtSDK\Desktop\Qt\4.7.4\mingw\bin\idc.exe
IDL           = midl
ZIP           = zip -r -9
DEF_FILE      = 
RES_FILE      = 
COPY          = copy /y
COPY_FILE     = $(COPY)
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_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR     = $(COPY_DIR)

####### Output directory

OBJECTS_DIR   = release

####### Files

SOURCES       = common.cpp \
		config_file.cpp \
		colorutils.cpp \
		qtc_kstyle.cpp \
		qtcurve.cpp \
		shortcuthandler.cpp release\moc_qtcurve.cpp \
		release\moc_shortcuthandler.cpp \
		release\moc_qtc_kstyle.cpp
OBJECTS       = release/common.o \
		release/config_file.o \
		release/colorutils.o \
		release/qtc_kstyle.o \
		release/qtcurve.o \
		release/shortcuthandler.o \
		release/moc_qtcurve.o \
		release/moc_shortcuthandler.o \
		release/moc_qtc_kstyle.o
DIST          = 
QMAKE_TARGET  = qtcurve
DESTDIR        = \plugins\styles\ #avoid trailing-slash linebreak
TARGET         = qtcurve.dll
DESTDIR_TARGET = \plugins\styles\qtcurve.dll

####### Implicit rules

.SUFFIXES: .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:
	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

####### Build rules

first: all
all: Makefile.Release  $(DESTDIR_TARGET)

$(DESTDIR_TARGET):  $(OBJECTS) 
	$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS)  $(LIBS)

qmake:  FORCE
	@$(QMAKE) -spec c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++ -o Makefile.Release qtcurve.pro

dist:
	$(ZIP) qtcurve.zip $(SOURCES) $(DIST) ..\..\..\..\user.pro c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\qconfig.pri c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\modules\qt_webkit_version.pri c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\qt_functions.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\qt_config.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\exclusive_builds.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\default_pre.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\win32\default_pre.prf ..\..\..\..\settings.pro c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\release.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\debug_and_release.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\default_post.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\win32\default_post.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\build_pass.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\warn_off.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\win32\rtti.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\win32\exceptions.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\win32\stl.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\shared.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\dll.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\qt.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\win32\thread.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\moc.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\win32\windows.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\resources.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\uic.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\yacc.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\lex.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\include_source_dir.prf  HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES 

clean: compiler_clean 
	-$(DEL_FILE) release\common.o release\config_file.o release\colorutils.o release\qtc_kstyle.o release\qtcurve.o release\shortcuthandler.o release\moc_qtcurve.o release\moc_shortcuthandler.o release\moc_qtc_kstyle.o
	-$(DEL_FILE) \plugins\styles\libqtcurve.a

distclean: clean
	-$(DEL_FILE) $(DESTDIR_TARGET)
	-$(DEL_FILE) Makefile.Release

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: release/moc_qtcurve.cpp release/moc_shortcuthandler.cpp release/moc_qtc_kstyle.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) release\moc_qtcurve.cpp release\moc_shortcuthandler.cpp release\moc_qtc_kstyle.cpp
release/moc_qtcurve.cpp: config.h \
		qtc_kstyle.h \
		common.h \
		colorutils.h \
		qtcurve.h
	C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 qtcurve.h -o release\moc_qtcurve.cpp

release/moc_shortcuthandler.cpp: shortcuthandler.h
	C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 shortcuthandler.h -o release\moc_shortcuthandler.cpp

release/moc_qtc_kstyle.cpp: qtc_kstyle.h
	C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 qtc_kstyle.h -o release\moc_qtc_kstyle.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

release/common.o: common.cpp common.h \
		config.h \
		colorutils.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\common.o common.cpp

release/config_file.o: config_file.cpp common.h \
		config.h \
		colorutils.h \
		config_file.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\config_file.o config_file.cpp

release/colorutils.o: colorutils.cpp config.h \
		common.h \
		colorutils.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\colorutils.o colorutils.cpp

release/qtc_kstyle.o: qtc_kstyle.cpp qtc_kstyle.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\qtc_kstyle.o qtc_kstyle.cpp

release/qtcurve.o: qtcurve.cpp config.h \
		qtcurve.h \
		qtc_kstyle.h \
		common.h \
		colorutils.h \
		shortcuthandler.h \
		config_file.h \
		pixmaps.h \
		qtc_fixx11h.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\qtcurve.o qtcurve.cpp

release/shortcuthandler.o: shortcuthandler.cpp shortcuthandler.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\shortcuthandler.o shortcuthandler.cpp

release/moc_qtcurve.o: release/moc_qtcurve.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_qtcurve.o release\moc_qtcurve.cpp

release/moc_shortcuthandler.o: release/moc_shortcuthandler.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_shortcuthandler.o release\moc_shortcuthandler.cpp

release/moc_qtc_kstyle.o: release/moc_qtc_kstyle.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_qtc_kstyle.o release\moc_qtc_kstyle.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

