#############################################################################
# Makefile for building: pizza
# Generated by qmake (1.04a) (Qt 3.1.1) on: Mon Mar 24 17:49:57 2003
# Project:  pizza.pro
# Template: app
# Command: $(QMAKE) -o Makefile pizza.pro
#############################################################################

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

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -Wall -W -pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686 -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions  -DQT_NO_DEBUG
CXXFLAGS = -pipe -Wall -W -pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686 -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions  -DQT_NO_DEBUG
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I$(QTDIR)/mkspecs/default -I. -I$(QTDIR)/include
LINK     = g++
LFLAGS   = 
LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
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 -f
CHK_DIR_EXISTS= test -d
MKDIR    = mkdir -p

####### Output directory

OBJECTS_DIR = ./

####### Files

HEADERS = pizzatestdialog.h
SOURCES = main.cpp \
		pizzatestdialog.cpp
OBJECTS = main.o \
		pizzatestdialog.o \
		pizzatestdialogbase.o
FORMS = pizzatestdialogbase.ui
UICDECLS = pizzatestdialogbase.h
UICIMPLS = pizzatestdialogbase.cpp
SRCMOC   = moc_pizzatestdialog.cpp \
		moc_pizzatestdialogbase.cpp
OBJMOC = moc_pizzatestdialog.o \
		moc_pizzatestdialogbase.o
DIST	   = pizza.pro
QMAKE_TARGET = pizza
DESTDIR  = 
TARGET   = pizza

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: pizza.pro  $(QTDIR)/mkspecs/default/qmake.conf 
	$(QMAKE) -o Makefile pizza.pro
qmake: 
	@$(QMAKE) -o Makefile pizza.pro

dist: 
	@mkdir -p .tmp/pizza && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/pizza/ && ( cd `dirname .tmp/pizza` && $(TAR) pizza.tar pizza && $(GZIP) pizza.tar ) && $(MOVE) `dirname .tmp/pizza`/pizza.tar.gz . && $(DEL_FILE) -r .tmp/pizza

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

uiclean:
	-$(DEL_FILE) $(UICIMPLS) $(UICDECLS)

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


####### Sub-libraries

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


FORCE:

####### Compile

main.o: main.cpp pizzatestdialog.h \
		pizzatestdialogbase.h

pizzatestdialog.o: pizzatestdialog.cpp pizzatestdialog.h \
		pizzatestdialogbase.h

pizzatestdialogbase.h: pizzatestdialogbase.ui 
	$(UIC) pizzatestdialogbase.ui -o pizzatestdialogbase.h

pizzatestdialogbase.cpp: pizzatestdialogbase.h pizzatestdialogbase.ui 
	$(UIC) pizzatestdialogbase.ui -i pizzatestdialogbase.h -o pizzatestdialogbase.cpp

pizzatestdialogbase.o: pizzatestdialogbase.cpp pizzatestdialogbase.h

moc_pizzatestdialog.o: moc_pizzatestdialog.cpp pizzatestdialog.h pizzatestdialogbase.h

moc_pizzatestdialogbase.o: moc_pizzatestdialogbase.cpp pizzatestdialogbase.h 

moc_pizzatestdialog.cpp: $(MOC) pizzatestdialog.h
	$(MOC) pizzatestdialog.h -o moc_pizzatestdialog.cpp

moc_pizzatestdialogbase.cpp: $(MOC) pizzatestdialogbase.h
	$(MOC) pizzatestdialogbase.h -o moc_pizzatestdialogbase.cpp

####### Install

install: all 

uninstall: 



