#############################################################################
# Makefile for building: libbarcode
# Generated by qmake (2.01a) (Qt 4.7.4) on: mar 14. mar 21:13:04 2017
# Project:  barcode.pro
# Template: lib
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DUNICODE -DQT_LARGEFILE_SUPPORT -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 -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"c:\QtSDK\Desktop\Qt\4.7.4\mingw\include\ActiveQt" -I"debug" -I"c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++"
LIB        =        ar -ru
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   = debug

####### Files

SOURCES       = codabar.cpp \
		code128.cpp \
		code39.cpp \
		code93.cpp \
		ean.cpp \
		i25.cpp \
		library.cpp \
		msi.cpp \
		pcl.cpp \
		plessey.cpp \
		ps.cpp 
OBJECTS       = debug/codabar.o \
		debug/code128.o \
		debug/code39.o \
		debug/code93.o \
		debug/ean.o \
		debug/i25.o \
		debug/library.o \
		debug/msi.o \
		debug/pcl.o \
		debug/plessey.o \
		debug/ps.o
DIST          = 
QMAKE_TARGET  = barcode
DESTDIR        = \lib\ #avoid trailing-slash linebreak
TARGET         = libbarcode.a
DESTDIR_TARGET = \lib\libbarcode.a

####### 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  /lib/barcode.prl  $(DESTDIR_TARGET)

$(DESTDIR_TARGET):  $(OBJECTS) 
	ar -M < object_script.libbarcode.Debug 

/lib/barcode.prl: 
	@$(QMAKE) -prl  -spec c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++ ..\..\user.pro
qmake:  FORCE
	@$(QMAKE) -spec c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++ -o Makefile.Debug barcode.pro

dist:
	$(ZIP) barcode.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\staticlib.prf c:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\features\static.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\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\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\codabar.o debug\code128.o debug\code39.o debug\code93.o debug\ean.o debug\i25.o debug\library.o debug\msi.o debug\pcl.o debug\plessey.o debug\ps.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/codabar.o: codabar.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\codabar.o codabar.cpp

debug/code128.o: code128.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\code128.o code128.cpp

debug/code39.o: code39.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\code39.o code39.cpp

debug/code93.o: code93.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\code93.o code93.cpp

debug/ean.o: ean.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\ean.o ean.cpp

debug/i25.o: i25.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\i25.o i25.cpp

debug/library.o: library.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\library.o library.cpp

debug/msi.o: msi.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\msi.o msi.cpp

debug/pcl.o: pcl.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\pcl.o pcl.cpp

debug/plessey.o: plessey.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\plessey.o plessey.cpp

debug/ps.o: ps.cpp barcode.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\ps.o ps.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

