#######################################################################
#   Makefile for Free Pascal
#   (C) 1998 Michael van Canneyt
#######################################################################
#
#  Configurable section
#

# What Compiler should we use ?
PP=ppc386

# Where are the Free Pascal units ? (Optional)
# UNITDIR = /usr/lib/fpc/0.99.5/linuxunits

# Any options you wish to pass to the compiler
OPT=

# Where to install the units ?
UNITINSTALLDIR=/usr/lib/fpc/0.99.5/linuxunits

# Where to install the programs ?
BININSTALLDIR=/usr/local/bin

#######################################################################
# End of configurable section. Do not edit below this line.
#######################################################################

.SUFFIXES: .pp .ppu .pas
.PHONY: all install clean examples

export PP OPT UNITDIR UNITINSTALLDIR BININSTALLDIR 
 
all:

	$(MAKE) -C gdk all
	$(MAKE) -C gtk all

install: all
	$(MAKE) -C gdk install
	$(MAKE) -C gtk install

examples:
	$(MAKE) -C examples

clean:
	$(MAKE) -C gdk clean
	$(MAKE) -C gtk clean
	$(MAKE) -C examples clean

tar:
	tar -cvzf ../gtk.tar.gz -C .. gtk --exclude gtk/gtk/c --exclude gtk/gdk/c
