#############################################################################
# Makefile for building: qtSDL
# Generated by qmake (1.03a) on: Mon Jan 20 22:19:53 2003
# Project:  main.pro
# Template: app
# Command: $(QMAKE) main.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -Wall -W -g  
CXXFLAGS = -pipe -Wall -W -g  
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I$(QTDIR)/include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared/ -I$(QTDIR)/mkspecs/linux-g++ $(shell sdl-config --cflags)
LINK     = g++
LFLAGS   = 
LIBS     = $(SUBLIBS)  -Wl,-rpath,$(QTDIR)/lib  -L$(QTDIR)/lib  -L/usr/X11R6/lib  -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender $(shell sdl-config --libs)
AR       = ar cqs
RANLIB   = 
MOC      = $(QTDIR)/bin/moc
UIC      = $(QTDIR)/bin/uic
QMAKE    = qmake
TAR      = tar -cf
GZIP     = gzip -9f
COPY     = cp -f
COPY_FILE= $(COPY) -p
COPY_DIR = $(COPY) -pR
DEL_FILE = rm -f
SYMLINK  = ln -sf
DEL_DIR  = rmdir
MOVE     = mv

####### Output directory

OBJECTS_DIR = .obj/release-shared/

####### Files

HEADERS = SDLWidget.h
SOURCES = SDLWidget.cpp \
		main.cpp
OBJECTS = .obj/release-shared/SDLWidget.o \
		.obj/release-shared/main.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = .moc/release-shared/moc_SDLWidget.cpp
OBJMOC = .obj/release-shared/moc_SDLWidget.o
DIST	   = main.pro
QMAKE_TARGET = qtSDL
DESTDIR  = 
TARGET   = qtSDL

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

.SUFFIXES: .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): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)

mocables: $(SRCMOC)

$(MOC): 
	( cd $(QTDIR)/src/moc ; $(MAKE) )

Makefile: main.pro ../../.qmake.cache $(QTDIR)/mkspecs/linux-g++/qmake.conf 
	$(QMAKE) main.pro
qmake: 
	@$(QMAKE) main.pro

dist: 
	@mkdir -p .obj/release-shared/qtSDL && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release-shared/qtSDL/ && ( cd `dirname .obj/release-shared/qtSDL` && $(TAR) qtSDL.tar qtSDL && $(GZIP) qtSDL.tar ) && $(MOVE) `dirname .obj/release-shared/qtSDL`/qtSDL.tar.gz . && $(DEL_DIR) .obj/release-shared/qtSDL

mocclean:
	-$(DEL_FILE) $(OBJMOC)
	-$(DEL_FILE) $(SRCMOC)

uiclean:

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


####### Sub-libraries

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


FORCE:

####### Compile

.obj/release-shared/SDLWidget.o: SDLWidget.cpp SDLWidget.h \
		../../include/qwidget.h \
		../../include/qwindowdefs.h \
		../../include/qobject.h \
		../../include/qpaintdevice.h \
		../../include/qpalette.h \
		../../include/qfont.h \
		../../include/qfontmetrics.h \
		../../include/qfontinfo.h \
		../../include/qsizepolicy.h \
		../../include/qobjectdefs.h \
		../../include/qstring.h \
		../../include/qnamespace.h \
		../../include/qglobal.h \
		../../include/qconfig-minimal.h \
		../../include/qconfig-small.h \
		../../include/qconfig-medium.h \
		../../include/qconfig-large.h \
		../../include/qconfig.h \
		../../include/qmodules.h \
		../../include/qfeatures.h \
		../../include/qcstring.h \
		../../include/qmemarray.h \
		../../include/qgarray.h \
		../../include/qshared.h \
		../../include/qevent.h \
		../../include/qregion.h \
		../../include/qmime.h \
		../../include/qpair.h \
		../../include/qrect.h \
		../../include/qsize.h \
		../../include/qpoint.h \
		../../include/qmap.h \
		../../include/qptrlist.h \
		../../include/qdatastream.h \
		../../include/qtl.h \
		../../include/qvaluelist.h \
		../../include/qiodevice.h \
		../../include/qtextstream.h \
		../../include/qglist.h \
		../../include/qptrcollection.h \
		../../include/qcolor.h \
		../../include/qbrush.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared/SDLWidget.o SDLWidget.cpp

.obj/release-shared/main.o: main.cpp ../../include/qapplication.h \
		SDLWidget.h \
		../../include/qdesktopwidget.h \
		../../include/qasciidict.h \
		../../include/qpalette.h \
		../../include/qtranslator.h \
		../../include/qstrlist.h \
		../../include/qstringlist.h \
		../../include/qwidget.h \
		../../include/qwindowdefs.h \
		../../include/qobject.h \
		../../include/qpaintdevice.h \
		../../include/qfont.h \
		../../include/qfontmetrics.h \
		../../include/qfontinfo.h \
		../../include/qsizepolicy.h \
		../../include/qobjectdefs.h \
		../../include/qstring.h \
		../../include/qnamespace.h \
		../../include/qglobal.h \
		../../include/qconfig-minimal.h \
		../../include/qconfig-small.h \
		../../include/qconfig-medium.h \
		../../include/qconfig-large.h \
		../../include/qconfig.h \
		../../include/qmodules.h \
		../../include/qfeatures.h \
		../../include/qcstring.h \
		../../include/qmemarray.h \
		../../include/qgarray.h \
		../../include/qshared.h \
		../../include/qevent.h \
		../../include/qregion.h \
		../../include/qmime.h \
		../../include/qpair.h \
		../../include/qrect.h \
		../../include/qsize.h \
		../../include/qpoint.h \
		../../include/qmap.h \
		../../include/qptrlist.h \
		../../include/qdatastream.h \
		../../include/qtl.h \
		../../include/qvaluelist.h \
		../../include/qiodevice.h \
		../../include/qtextstream.h \
		../../include/qglist.h \
		../../include/qptrcollection.h \
		../../include/qcolor.h \
		../../include/qbrush.h \
		../../include/qgdict.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared/main.o main.cpp

.obj/release-shared/moc_SDLWidget.o: .moc/release-shared/moc_SDLWidget.cpp SDLWidget.h ../../include/qwidget.h \
		../../include/qwindowdefs.h \
		../../include/qobject.h \
		../../include/qpaintdevice.h \
		../../include/qpalette.h \
		../../include/qfont.h \
		../../include/qfontmetrics.h \
		../../include/qfontinfo.h \
		../../include/qsizepolicy.h \
		../../include/qobjectdefs.h \
		../../include/qstring.h \
		../../include/qnamespace.h \
		../../include/qglobal.h \
		../../include/qconfig-minimal.h \
		../../include/qconfig-small.h \
		../../include/qconfig-medium.h \
		../../include/qconfig-large.h \
		../../include/qconfig.h \
		../../include/qmodules.h \
		../../include/qfeatures.h \
		../../include/qcstring.h \
		../../include/qmemarray.h \
		../../include/qgarray.h \
		../../include/qshared.h \
		../../include/qevent.h \
		../../include/qregion.h \
		../../include/qmime.h \
		../../include/qpair.h \
		../../include/qrect.h \
		../../include/qsize.h \
		../../include/qpoint.h \
		../../include/qmap.h \
		../../include/qptrlist.h \
		../../include/qdatastream.h \
		../../include/qtl.h \
		../../include/qvaluelist.h \
		../../include/qiodevice.h \
		../../include/qtextstream.h \
		../../include/qglist.h \
		../../include/qptrcollection.h \
		../../include/qcolor.h \
		../../include/qbrush.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared/moc_SDLWidget.o .moc/release-shared/moc_SDLWidget.cpp

.moc/release-shared/moc_SDLWidget.cpp: $(MOC) SDLWidget.h
	$(MOC) SDLWidget.h -o .moc/release-shared/moc_SDLWidget.cpp

####### Install

install: all 

uninstall: 

