#############################################################################

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

CXX	=	$(SYSCONF_CXX) $(QT_CXX_MT)
CXXFLAGS=	$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS)
CC	=	$(SYSCONF_CC) $(QT_C_MT)
CFLAGS	=	$(SYSCONF_CFLAGS)
INCPATH =	
LFLAGS	=	$(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT)
LIBS	=	$(SUBLIBS) $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS) $(SYSCONF_LIBS_QTAPP)
MOC	=	$(SYSCONF_MOC)
UIC	=	$(SYSCONF_UIC)

####### Target

DESTDIR = ./
VER_MAJ = 1
VER_MIN = 0
VER_PATCH = 0
TARGET	= tictac
TARGET1 = lib$(TARGET).so.$(VER_MAJ)

####### Files

HEADERS =	tictac.h
SOURCES =	main.cpp \
		tictac.cpp
OBJECTS =	main.o \
		tictac.o
INTERFACES =    
UICDECLS =      
UICIMPLS =      
SRCMOC	=	moc_tictac.cpp
OBJMOC	=	moc_tictac.o


####### Implicit rules

.SUFFIXES: .cpp .cxx .cc .C .c

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

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

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

####### Build rules


all: $(DESTDIR)$(TARGET)

$(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS)
	$(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

moc: $(SRCMOC)

tmake:
	tmake tictac.pro

clean:
	-rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS)
	-rm -f *~ core
	-rm -f allmoc.cpp

####### Extension Modules

listpromodules:
	@echo 

listallmodules:
	@echo 

listaddonpromodules:
	@echo 

listaddonentmodules:
	@echo 


REQUIRES=medium-config

####### Sub-libraries


###### Combined headers



####### Compile

main.o: main.cpp \
		../../include/qapplication.h \
		../../include/qwidget.h \
		../../include/qwindowdefs.h \
		../../include/qobjectdefs.h \
		../../include/qglobal.h \
		../../include/qfeatures.h \
		../../include/qconfig.h \
		../../include/qstring.h \
		../../include/qcstring.h \
		../../include/qarray.h \
		../../include/qgarray.h \
		../../include/qshared.h \
		../../include/qnamespace.h \
		../../include/qobject.h \
		../../include/qevent.h \
		../../include/qregion.h \
		../../include/qrect.h \
		../../include/qsize.h \
		../../include/qpoint.h \
		../../include/qmime.h \
		../../include/qlist.h \
		../../include/qglist.h \
		../../include/qcollection.h \
		../../include/qstringlist.h \
		../../include/qvaluelist.h \
		../../include/qdatastream.h \
		../../include/qiodevice.h \
		../../include/qregexp.h \
		../../include/qpaintdevice.h \
		../../include/qpalette.h \
		../../include/qcolor.h \
		../../include/qbrush.h \
		../../include/qcursor.h \
		../../include/qfont.h \
		../../include/qfontmetrics.h \
		../../include/qfontinfo.h \
		../../include/qstyle.h \
		../../include/qsizepolicy.h \
		../../include/qasciidict.h \
		../../include/qgdict.h \
		../../include/qtranslator.h \
		../../include/qintdict.h \
		tictac.h \
		../../include/qpushbutton.h \
		../../include/qbutton.h \
		../../include/qiconset.h \
		../../include/qpixmap.h \
		../../include/qvector.h \
		../../include/qgvector.h

tictac.o: tictac.cpp \
		tictac.h \
		../../include/qpushbutton.h \
		../../include/qbutton.h \
		../../include/qwidget.h \
		../../include/qwindowdefs.h \
		../../include/qobjectdefs.h \
		../../include/qglobal.h \
		../../include/qfeatures.h \
		../../include/qconfig.h \
		../../include/qstring.h \
		../../include/qcstring.h \
		../../include/qarray.h \
		../../include/qgarray.h \
		../../include/qshared.h \
		../../include/qnamespace.h \
		../../include/qobject.h \
		../../include/qevent.h \
		../../include/qregion.h \
		../../include/qrect.h \
		../../include/qsize.h \
		../../include/qpoint.h \
		../../include/qmime.h \
		../../include/qlist.h \
		../../include/qglist.h \
		../../include/qcollection.h \
		../../include/qstringlist.h \
		../../include/qvaluelist.h \
		../../include/qdatastream.h \
		../../include/qiodevice.h \
		../../include/qregexp.h \
		../../include/qpaintdevice.h \
		../../include/qpalette.h \
		../../include/qcolor.h \
		../../include/qbrush.h \
		../../include/qcursor.h \
		../../include/qfont.h \
		../../include/qfontmetrics.h \
		../../include/qfontinfo.h \
		../../include/qstyle.h \
		../../include/qsizepolicy.h \
		../../include/qiconset.h \
		../../include/qpixmap.h \
		../../include/qvector.h \
		../../include/qgvector.h \
		../../include/qapplication.h \
		../../include/qasciidict.h \
		../../include/qgdict.h \
		../../include/qtranslator.h \
		../../include/qintdict.h \
		../../include/qpainter.h \
		../../include/qpen.h \
		../../include/qpointarray.h \
		../../include/qwmatrix.h \
		../../include/qdrawutil.h \
		../../include/qcombobox.h \
		../../include/qcheckbox.h \
		../../include/qlabel.h \
		../../include/qframe.h \
		../../include/qlayout.h \
		../../include/qabstractlayout.h \
		../../include/qdatetime.h

moc_tictac.o: moc_tictac.cpp \
		tictac.h \
		../../include/qpushbutton.h \
		../../include/qbutton.h \
		../../include/qwidget.h \
		../../include/qwindowdefs.h \
		../../include/qobjectdefs.h \
		../../include/qglobal.h \
		../../include/qfeatures.h \
		../../include/qconfig.h \
		../../include/qstring.h \
		../../include/qcstring.h \
		../../include/qarray.h \
		../../include/qgarray.h \
		../../include/qshared.h \
		../../include/qnamespace.h \
		../../include/qobject.h \
		../../include/qevent.h \
		../../include/qregion.h \
		../../include/qrect.h \
		../../include/qsize.h \
		../../include/qpoint.h \
		../../include/qmime.h \
		../../include/qlist.h \
		../../include/qglist.h \
		../../include/qcollection.h \
		../../include/qstringlist.h \
		../../include/qvaluelist.h \
		../../include/qdatastream.h \
		../../include/qiodevice.h \
		../../include/qregexp.h \
		../../include/qpaintdevice.h \
		../../include/qpalette.h \
		../../include/qcolor.h \
		../../include/qbrush.h \
		../../include/qcursor.h \
		../../include/qfont.h \
		../../include/qfontmetrics.h \
		../../include/qfontinfo.h \
		../../include/qstyle.h \
		../../include/qsizepolicy.h \
		../../include/qiconset.h \
		../../include/qpixmap.h \
		../../include/qvector.h \
		../../include/qgvector.h

moc_tictac.cpp: tictac.h
	$(MOC) tictac.h -o moc_tictac.cpp


