# For gcc 2.6.0 + libg++ 2.6.0 (just iostreams are needed).

DIRS=lib parser em app sp tree nsgmls

# add LIBOBJS="strerror.o memmove.o" for SunOS 4.1.3

GCC=gcc
WARN=-Wall -Wwrite-strings -Wpointer-arith -Wnested-externs
PURIFY=purify -g++=yes -collector=`dirname \`$(GCC) -print-libgcc-file-name\``/ld

all .DEFAULT:
	@$(MAKE) srcdir=.. CXX="$(GCC) $(WARN) -ansi -DHAVE_BOOL -DANSI_INST -fno-implicit-templates" \
	CC="$(GCC)" CXXFLAGS="-g -O" "PURIFY=$(PURIFY)" LIBS=-liostream -f ../Makefile $@

.PHONY: $(DIRS)
