#############################################################################
# Makefile for building: sqlite
# Generated by qmake (2.01a) (Qt 4.7.4) on: mar 14. mar 21:13:08 2017
# Project:  sqlite.pro
# Template: lib
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -DOS_WIN=1 -DQT_DLL -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        = -g -w $(DEFINES)
CXXFLAGS      = -g -fexceptions -mthreads -w -frtti $(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"\src\qt\include" -I"." -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"debug" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
LINK        =        g++
LFLAGS        =        -mthreads -shared -Wl,--out-implib,\lib\libsqlite2.a
LIBS        =        -L"c:\QtSDK\Desktop\Qt\4.7.4\mingw\lib" debug\sqlite_resource_res.o -L/lib -lQtGuid4 -lQtCored4 
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      = debug\sqlite_resource_res.o
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   = debug

####### Files

SOURCES       = attach.c \
		auth.c \
		btree.c \
		btree_rb.c \
		build.c \
		copy.c \
		date.c \
		delete.c \
		expr.c \
		func.c \
		hash.c \
		insert.c \
		main.c \
		opcodes.c \
		os.c \
		pager.c \
		parse.c \
		pragma.c \
		printf.c \
		random.c \
		select.c \
		shell.c \
		table.c \
		tokenize.c \
		trigger.c \
		update.c \
		util.c \
		vacuum.c \
		vdbe.c \
		vdbeaux.c \
		where.c \
		dataset.cpp \
		qry_dat.cpp \
		sqlitedataset.cpp 
OBJECTS       = debug/attach.o \
		debug/auth.o \
		debug/btree.o \
		debug/btree_rb.o \
		debug/build.o \
		debug/copy.o \
		debug/date.o \
		debug/delete.o \
		debug/expr.o \
		debug/func.o \
		debug/hash.o \
		debug/insert.o \
		debug/main.o \
		debug/opcodes.o \
		debug/os.o \
		debug/pager.o \
		debug/parse.o \
		debug/pragma.o \
		debug/printf.o \
		debug/random.o \
		debug/select.o \
		debug/shell.o \
		debug/table.o \
		debug/tokenize.o \
		debug/trigger.o \
		debug/update.o \
		debug/util.o \
		debug/vacuum.o \
		debug/vdbe.o \
		debug/vdbeaux.o \
		debug/where.o \
		debug/dataset.o \
		debug/qry_dat.o \
		debug/sqlitedataset.o
DIST          = 
QMAKE_TARGET  = sqlite
DESTDIR        = \lib\ #avoid trailing-slash linebreak
TARGET         = sqlite2.dll
DESTDIR_TARGET = \lib\sqlite2.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.Debug  $(DESTDIR_TARGET)

$(DESTDIR_TARGET):  $(OBJECTS) debug/sqlite_resource_res.o
	$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.sqlite.Debug  $(LIBS)
	-$(COPY_FILE) "$(DESTDIR_TARGET)" \bin

debug/sqlite_resource_res.o: sqlite_resource.rc
	windres -i sqlite_resource.rc -o debug\sqlite_resource_res.o --include-dir=. $(DEFINES)

qmake:  FORCE
	@$(QMAKE) -spec c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++ -o Makefile.Debug sqlite.pro

dist:
	$(ZIP) sqlite.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\debug.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\win32\exceptions.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\dll.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\shared.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\stl.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) debug\attach.o debug\auth.o debug\btree.o debug\btree_rb.o debug\build.o debug\copy.o debug\date.o debug\delete.o debug\expr.o debug\func.o debug\hash.o debug\insert.o debug\main.o debug\opcodes.o debug\os.o debug\pager.o debug\parse.o debug\pragma.o debug\printf.o debug\random.o debug\select.o debug\shell.o debug\table.o debug\tokenize.o debug\trigger.o debug\update.o debug\util.o debug\vacuum.o debug\vdbe.o debug\vdbeaux.o debug\where.o debug\dataset.o debug\qry_dat.o debug\sqlitedataset.o
	-$(DEL_FILE) \lib\libsqlite2.a
	-$(DEL_FILE) debug\sqlite_resource_res.o

distclean: clean
	-$(DEL_FILE) $(DESTDIR_TARGET)
	-$(DEL_FILE) Makefile.Debug

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:
compiler_moc_header_clean:
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: 



####### Compile

debug/attach.o: attach.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\attach.o attach.c

debug/auth.o: auth.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\auth.o auth.c

debug/btree.o: btree.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h \
		pager.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\btree.o btree.c

debug/btree_rb.o: btree_rb.c btree.h \
		sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\btree_rb.o btree_rb.c

debug/build.o: build.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\build.o build.c

debug/copy.o: copy.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\copy.o copy.c

debug/date.o: date.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\date.o date.c

debug/delete.o: delete.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\delete.o delete.c

debug/expr.o: expr.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\expr.o expr.c

debug/func.o: func.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\func.o func.c

debug/hash.o: hash.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\hash.o hash.c

debug/insert.o: insert.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\insert.o insert.c

debug/main.o: main.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\main.o main.c

debug/opcodes.o: opcodes.c 
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\opcodes.o opcodes.c

debug/os.o: os.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\os.o os.c

debug/pager.o: pager.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h \
		pager.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\pager.o pager.c

debug/parse.o: parse.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\parse.o parse.c

debug/pragma.o: pragma.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\pragma.o pragma.c

debug/printf.o: printf.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\printf.o printf.c

debug/random.o: random.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\random.o random.c

debug/select.o: select.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\select.o select.c

debug/shell.o: shell.c sqlite.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\shell.o shell.c

debug/table.o: table.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\table.o table.c

debug/tokenize.o: tokenize.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\tokenize.o tokenize.c

debug/trigger.o: trigger.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\trigger.o trigger.c

debug/update.o: update.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\update.o update.c

debug/util.o: util.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\util.o util.c

debug/vacuum.o: vacuum.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\vacuum.o vacuum.c

debug/vdbe.o: vdbe.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h \
		vdbeInt.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\vdbe.o vdbe.c

debug/vdbeaux.o: vdbeaux.c os.h \
		config_sqlite.h \
		sqliteInt.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h \
		vdbeInt.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\vdbeaux.o vdbeaux.c

debug/where.o: where.c sqliteInt.h \
		config_sqlite.h \
		sqlite.h \
		hash.h \
		parse.h \
		btree.h \
		vdbe.h \
		opcodes.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o debug\where.o where.c

debug/dataset.o: dataset.cpp dataset.h \
		qry_dat.h \
		config_sqlite.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\dataset.o dataset.cpp

debug/qry_dat.o: qry_dat.cpp qry_dat.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\qry_dat.o qry_dat.cpp

debug/sqlitedataset.o: sqlitedataset.cpp sqlitedataset.h \
		dataset.h \
		qry_dat.h \
		sqlite.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\sqlitedataset.o sqlitedataset.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

