#############################################################################
# Qt Makefile - examples
#############################################################################
# $Id: Makefile,v 1.1 1995/05/20 00:56:01 agulbra Exp agulbra $
#
# This file contains the configuration information for all the demos.
#
#
# If you didn't install the Qt things in /usr/local/lib/qt, change CFLAGS
# to point at the correct include directory.
CFLAGS		= -O2 -I/usr/local/lib/qt/include
#
# If you didn't put libqt in /usr/lib you must add a -L option to LFLAGS,
# e.g. -L/home/yourname/lib
#
# It is not necessary to link with libXt when using Qt.  If you use the ELF
# version of Qt, you can remove -lX11 too.
LFLAGS		= -lqt -lX11
#
# The compiler is almost certainly gcc on linux.  Qt has not been tested
# with Comeau C++.
CC		= gcc
#
# We want to export those variables without any bother
.EXPORT_ALL_VARIABLES:

#
# The next line selects which examples are made

SUBDIRS 	= aclock connect cursor dclock desktop forever hello \
		picture tetris wheel xform

all:
	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done

depend:
	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i depend; done

clean:
	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done
