# This Makefile generates a Qt-Makefile named .Makefile.Qt using qmake and
# builds the application with it. You only need to specify the target and
# have a .pro file with this name.

TARGET = udp_qt_server

CC = g++
INCPATHS = 
LIBPATHS = 
LIBS = 
FLAGS = -O2 -g
LDFLAGS =

all:	.Makefile.Qt
	$(MAKE) -f .Makefile.Qt -j4

.Makefile.Qt:	$(TARGET).pro
	qmake -recursive -o .Makefile.Qt

clean:	.Makefile.Qt
	make -f .Makefile.Qt clean
	-find . -name '.Makefile.Qt*' -exec rm -f {} \;
	rm $(TARGET)


.PHONY: all clean run
