#
# GRX 2.0 makefile for LINUX/X11 distribution version (GNU-make)
#

# set MAKE to GNU make
#MAKE=gmake

all: libs test

libs: static_libs shared_libs

static_libs:
	$(MAKE) -C src STATIC=1 -f makefile.x11

shared_libs:
	$(MAKE) -C src SHARED=1 -f makefile.x11

test:   static_libs
	$(MAKE) -C test -f makefile.x11

clean:
	$(MAKE) -C test          -f makefile.x11 clean
	$(MAKE) -C src  STATIC=1 -f makefile.x11 clean
	$(MAKE) -C src  SHARED=1 -f makefile.x11 clean
