#############################################################################
# Makefile for building: microSynth
# Generated by qmake (2.01a) (Qt 4.6.0) on: mer apr 14 23:17:06 2010
# Project:  microSynth.pro
# Template: app
# Command: /home/valerio64/Programmi/qtsdk-2009.05/qt/bin/qmake -spec ../../Programmi/qtsdk-2009.05/qt/mkspecs/linux-g++-64 -unix -o Makefile microSynth.pro
#############################################################################

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

CC            = gcc
CXX           = g++
DEFINES       = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -m64 -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -m64 -pipe -D__LINUX_ALSASEQ__ -D__UNIX_JACK__ -D__LINUX_ALSA__ -O2 -march=native -fomit-frame-pointer -O2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I../../Programmi/qtsdk-2009.05/qt/mkspecs/linux-g++-64 -I. -I../../Programmi/qtsdk-2009.05/qt/include/QtCore -I../../Programmi/qtsdk-2009.05/qt/include/QtGui -I../../Programmi/qtsdk-2009.05/qt/include/QtXml -I../../Programmi/qtsdk-2009.05/qt/include -I. -I.
LINK          = g++
LFLAGS        = -m64 -Wl,-O1 -Wl,-rpath,/home/valerio64/Programmi/qtsdk-2009.05/qt/lib
LIBS          = $(SUBLIBS)  -L/home/valerio64/Programmi/qtsdk-2009.05/qt/lib -lasound -ljack -lrt -lQtXml -L/home/valerio64/Programmi/qtsdk-2009.05/qt/lib -lQtGui -L/usr/X11R6/lib64 -lQtCore -lpthread 
AR            = ar cqs
RANLIB        = 
QMAKE         = /home/valerio64/Programmi/qtsdk-2009.05/qt/bin/qmake
TAR           = tar -cf
COMPRESS      = gzip -9f
COPY          = cp -f
SED           = sed
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
STRIP         = strip
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -f
SYMLINK       = ln -sf
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory

OBJECTS_DIR   = ./

####### Files

SOURCES       = main.cpp \
		mainwindow.cpp \
		include/SoundGen.cpp \
		include/RtMidi.cpp \
		include/RtAudio.cpp \
		QSynthKnob.cxx \
		midiIO.cpp \
		audioIO.cpp \
		synthAct.cpp moc_mainwindow.cpp \
		moc_QSynthKnob.cpp \
		qrc_resources.cpp
OBJECTS       = main.o \
		mainwindow.o \
		SoundGen.o \
		RtMidi.o \
		RtAudio.o \
		QSynthKnob.o \
		midiIO.o \
		audioIO.o \
		synthAct.o \
		moc_mainwindow.o \
		moc_QSynthKnob.o \
		qrc_resources.o
DIST          = ../../Programmi/qtsdk-2009.05/qt/mkspecs/common/g++.conf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/common/unix.conf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/common/linux.conf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/qconfig.pri \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt_functions.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt_config.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/exclusive_builds.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/default_pre.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/release.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/default_post.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/warn_on.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/unix/thread.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/moc.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/resources.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/uic.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/yacc.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/lex.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/include_source_dir.prf \
		microSynth.pro
QMAKE_TARGET  = microSynth
DESTDIR       = 
TARGET        = microSynth

first: all
####### Implicit rules

.SUFFIXES: .o .c .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:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"

####### Build rules

all: Makefile $(TARGET)

$(TARGET): ui_mainwindow.h $(OBJECTS)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: microSynth.pro  ../../Programmi/qtsdk-2009.05/qt/mkspecs/linux-g++-64/qmake.conf ../../Programmi/qtsdk-2009.05/qt/mkspecs/common/g++.conf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/common/unix.conf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/common/linux.conf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/qconfig.pri \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt_functions.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt_config.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/exclusive_builds.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/default_pre.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/release.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/default_post.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/warn_on.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/unix/thread.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/moc.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/resources.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/uic.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/yacc.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/lex.prf \
		../../Programmi/qtsdk-2009.05/qt/mkspecs/features/include_source_dir.prf \
		/home/valerio64/Programmi/qtsdk-2009.05/qt/lib/libQtXml.prl \
		/home/valerio64/Programmi/qtsdk-2009.05/qt/lib/libQtCore.prl \
		/home/valerio64/Programmi/qtsdk-2009.05/qt/lib/libQtGui.prl
	$(QMAKE) -spec ../../Programmi/qtsdk-2009.05/qt/mkspecs/linux-g++-64 -unix -o Makefile microSynth.pro
../../Programmi/qtsdk-2009.05/qt/mkspecs/common/g++.conf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/common/unix.conf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/common/linux.conf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/qconfig.pri:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt_functions.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt_config.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/exclusive_builds.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/default_pre.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/release.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/default_post.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/warn_on.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/qt.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/unix/thread.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/moc.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/resources.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/uic.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/yacc.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/lex.prf:
../../Programmi/qtsdk-2009.05/qt/mkspecs/features/include_source_dir.prf:
/home/valerio64/Programmi/qtsdk-2009.05/qt/lib/libQtXml.prl:
/home/valerio64/Programmi/qtsdk-2009.05/qt/lib/libQtCore.prl:
/home/valerio64/Programmi/qtsdk-2009.05/qt/lib/libQtGui.prl:
qmake:  FORCE
	@$(QMAKE) -spec ../../Programmi/qtsdk-2009.05/qt/mkspecs/linux-g++-64 -unix -o Makefile microSynth.pro

dist: 
	@$(CHK_DIR_EXISTS) .tmp/microSynth1.0.0 || $(MKDIR) .tmp/microSynth1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/microSynth1.0.0/ && $(COPY_FILE) --parents mainwindow.h include/SoundGen.h include/RtMidi.h include/RtError.h include/RtAudio.h QSynthKnob.hxx include/microSynth.h include/microSynth.h include/synthAct.h include/ASIOstuff.h .tmp/microSynth1.0.0/ && $(COPY_FILE) --parents resources.qrc .tmp/microSynth1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp include/SoundGen.cpp include/RtMidi.cpp include/RtAudio.cpp QSynthKnob.cxx midiIO.cpp audioIO.cpp synthAct.cpp .tmp/microSynth1.0.0/ && $(COPY_FILE) --parents mainwindow.ui .tmp/microSynth1.0.0/ && (cd `dirname .tmp/microSynth1.0.0` && $(TAR) microSynth1.0.0.tar microSynth1.0.0 && $(COMPRESS) microSynth1.0.0.tar) && $(MOVE) `dirname .tmp/microSynth1.0.0`/microSynth1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/microSynth1.0.0


clean:compiler_clean 
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) $(TARGET) 
	-$(DEL_FILE) Makefile


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: moc_mainwindow.cpp moc_QSynthKnob.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_mainwindow.cpp moc_QSynthKnob.cpp
moc_mainwindow.cpp: mainwindow.h
	/home/valerio64/Programmi/qtsdk-2009.05/qt/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp

moc_QSynthKnob.cpp: QSynthKnob.hxx
	/home/valerio64/Programmi/qtsdk-2009.05/qt/bin/moc $(DEFINES) $(INCPATH) QSynthKnob.hxx -o moc_QSynthKnob.cpp

compiler_rcc_make_all: qrc_resources.cpp
compiler_rcc_clean:
	-$(DEL_FILE) qrc_resources.cpp
qrc_resources.cpp: resources.qrc \
		resources/gpl3.png
	/home/valerio64/Programmi/qtsdk-2009.05/qt/bin/rcc -name resources resources.qrc -o qrc_resources.cpp

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
compiler_uic_clean:
	-$(DEL_FILE) ui_mainwindow.h
ui_mainwindow.h: mainwindow.ui \
		QSynthKnob.hxx
	/home/valerio64/Programmi/qtsdk-2009.05/qt/bin/uic mainwindow.ui -o ui_mainwindow.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_rcc_clean compiler_uic_clean 

####### Compile

main.o: main.cpp mainwindow.h \
		include/microSynth.h \
		include/RtMidi.h \
		include/RtError.h \
		include/RtAudio.h \
		include/SoundGen.h \
		include/synthAct.h \
		include/ASIOstuff.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp

mainwindow.o: mainwindow.cpp mainwindow.h \
		ui_mainwindow.h \
		include/microSynth.h \
		include/RtMidi.h \
		include/RtError.h \
		include/RtAudio.h \
		include/SoundGen.h \
		include/synthAct.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp

SoundGen.o: include/SoundGen.cpp include/SoundGen.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o SoundGen.o include/SoundGen.cpp

RtMidi.o: include/RtMidi.cpp include/RtMidi.h \
		include/RtError.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o RtMidi.o include/RtMidi.cpp

RtAudio.o: include/RtAudio.cpp include/RtAudio.h \
		include/RtError.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o RtAudio.o include/RtAudio.cpp

QSynthKnob.o: QSynthKnob.cxx QSynthKnob.hxx
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o QSynthKnob.o QSynthKnob.cxx

midiIO.o: midiIO.cpp include/microSynth.h \
		include/RtMidi.h \
		include/RtError.h \
		include/RtAudio.h \
		include/SoundGen.h \
		include/synthAct.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o midiIO.o midiIO.cpp

audioIO.o: audioIO.cpp include/microSynth.h \
		include/RtMidi.h \
		include/RtError.h \
		include/RtAudio.h \
		include/SoundGen.h \
		include/synthAct.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o audioIO.o audioIO.cpp

synthAct.o: synthAct.cpp include/synthAct.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o synthAct.o synthAct.cpp

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

moc_QSynthKnob.o: moc_QSynthKnob.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_QSynthKnob.o moc_QSynthKnob.cpp

qrc_resources.o: qrc_resources.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_resources.o qrc_resources.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:

