CFLAGS=	$(GCCFLAGS) $(INCLUDES) 
CPLUSFLAGS= $(GCCFLAGS) $(INCLUDES)

.SUFFIXES:	.C .d .cpp

.C.o:
	$(CPLUS) -c $(CPLUSFLAGS) $<

.cpp.o:
	$(CPLUS) -c $(CPLUSFLAGS) $<

.c.o:
	$(CC) -c $(CFLAGS) $<

dep depend:
	if [ ! "$(SRC)" = "" ] ; then $(CPP) -M $(SRC) $(CFLAGS) > .depend ; fi

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif
