Project: dvd-catalog
Code Location: http://dvd-catalog.googlecode.com/svn/trunk/trunk
Browse
/
Download File
Makefile.Release
#############################################################################
# Makefile for building: dvd-catalog
# Generated by qmake (2.01a) (Qt 4.5.1) on: Sun Jun 14 20:09:28 2009
# Project:  dvd-catalog.pro
# Template: app
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
CFLAGS        = -O2 -Wall $(DEFINES)
CXXFLAGS      = -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES)
INCPATH       = -I"h:\Language\Qt\2009.02\qt\include\QtCore" -I"h:\Language\Qt\2009.02\qt\include\QtGui" -I"h:\Language\Qt\2009.02\qt\include\QtSql" -I"h:\Language\Qt\2009.02\qt\include" -I"h:\Language\Qt\2009.02\qt\include\ActiveQt" -I"release" -I"." -I"h:\Language\Qt\2009.02\qt\mkspecs\win32-g++"
LINK        =        g++
LFLAGS        =        -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows
LIBS        =        -L"h:\Language\Qt\2009.02\qt\lib" -lmingw32 -lqtmain -lQtSql4 -lQtGui4 -lQtCore4
QMAKE         = h:\Language\Qt\2009.02\qt\bin\qmake.exe
IDC           = h:\Language\Qt\2009.02\qt\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       = main.cpp \
		mainwindow.cpp \
		database.cpp \
		singleadddialog.cpp release\moc_mainwindow.cpp \
		release\moc_singleadddialog.cpp
OBJECTS       = release/main.o \
		release/mainwindow.o \
		release/database.o \
		release/singleadddialog.o \
		release/moc_mainwindow.o \
		release/moc_singleadddialog.o
DIST          = 
QMAKE_TARGET  = dvd-catalog
DESTDIR        = release\ #avoid trailing-slash linebreak
TARGET         = dvd-catalog.exe
DESTDIR_TARGET = release\dvd-catalog.exe

####### 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): ui_mainwindow.h ui_singleadddialog.h $(OBJECTS) 
	$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS)  $(LIBS)


qmake:  FORCE
	@$(QMAKE) -spec h:\Language\Qt\2009.02\qt\mkspecs\win32-g++ -win32 -o Makefile.Release dvd-catalog.pro

dist:
	$(ZIP) dvd-catalog.zip $(SOURCES) $(DIST) dvd-catalog.pro h:\Language\Qt\2009.02\qt\mkspecs\qconfig.pri h:\Language\Qt\2009.02\qt\mkspecs\features\qt_functions.prf h:\Language\Qt\2009.02\qt\mkspecs\features\qt_config.prf h:\Language\Qt\2009.02\qt\mkspecs\features\exclusive_builds.prf h:\Language\Qt\2009.02\qt\mkspecs\features\default_pre.prf h:\Language\Qt\2009.02\qt\mkspecs\features\win32\default_pre.prf h:\Language\Qt\2009.02\qt\mkspecs\features\release.prf h:\Language\Qt\2009.02\qt\mkspecs\features\debug_and_release.prf h:\Language\Qt\2009.02\qt\mkspecs\features\default_post.prf h:\Language\Qt\2009.02\qt\mkspecs\features\win32\default_post.prf h:\Language\Qt\2009.02\qt\mkspecs\features\build_pass.prf h:\Language\Qt\2009.02\qt\mkspecs\features\win32\rtti.prf h:\Language\Qt\2009.02\qt\mkspecs\features\win32\exceptions.prf h:\Language\Qt\2009.02\qt\mkspecs\features\win32\stl.prf h:\Language\Qt\2009.02\qt\mkspecs\features\shared.prf h:\Language\Qt\2009.02\qt\mkspecs\features\warn_on.prf h:\Language\Qt\2009.02\qt\mkspecs\features\qt.prf h:\Language\Qt\2009.02\qt\mkspecs\features\win32\thread.prf h:\Language\Qt\2009.02\qt\mkspecs\features\moc.prf h:\Language\Qt\2009.02\qt\mkspecs\features\win32\windows.prf h:\Language\Qt\2009.02\qt\mkspecs\features\resources.prf h:\Language\Qt\2009.02\qt\mkspecs\features\uic.prf h:\Language\Qt\2009.02\qt\mkspecs\features\yacc.prf h:\Language\Qt\2009.02\qt\mkspecs\features\lex.prf h:\Language\Qt\2009.02\qt\mkspecs\features\include_source_dir.prf h:\Language\Qt\2009.02\qt\lib\qtmain.prl  HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES 

clean: compiler_clean 
	-$(DEL_FILE) release\main.o release\mainwindow.o release\database.o release\singleadddialog.o release\moc_mainwindow.o release\moc_singleadddialog.o

distclean: clean
	-$(DEL_FILE) $(DESTDIR_TARGET)
	-$(DEL_FILE) Makefile.Release

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_mainwindow.cpp release/moc_singleadddialog.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) release\moc_mainwindow.cpp release\moc_singleadddialog.cpp
release/moc_mainwindow.cpp: mainwindow.h
	H:/Language/Qt/2009.02/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o release\moc_mainwindow.cpp

release/moc_singleadddialog.cpp: singleadddialog.h
	H:/Language/Qt/2009.02/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 singleadddialog.h -o release\moc_singleadddialog.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: ui_mainwindow.h ui_singleadddialog.h
compiler_uic_clean:
	-$(DEL_FILE) ui_mainwindow.h ui_singleadddialog.h
ui_mainwindow.h: mainwindow.ui
	h:\Language\Qt\2009.02\qt\bin\uic.exe mainwindow.ui -o ui_mainwindow.h

ui_singleadddialog.h: singleadddialog.ui
	h:\Language\Qt\2009.02\qt\bin\uic.exe singleadddialog.ui -o ui_singleadddialog.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_uic_clean 



####### Compile

release/main.o: main.cpp mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o main.cpp

release/mainwindow.o: mainwindow.cpp mainwindow.h \
		ui_mainwindow.h \
		database.h \
		singleadddialog.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mainwindow.o mainwindow.cpp

release/database.o: database.cpp database.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\database.o database.cpp

release/singleadddialog.o: singleadddialog.cpp singleadddialog.h \
		ui_singleadddialog.h \
		database.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\singleadddialog.o singleadddialog.cpp

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

release/moc_singleadddialog.o: release/moc_singleadddialog.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_singleadddialog.o release\moc_singleadddialog.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE: