--- chewbacca/Makefile 2009/07/30 08:16:20 1.10 +++ chewbacca/Makefile 2009/08/04 13:57:59 1.11 @@ -29,6 +29,12 @@ export CFLAGS+=$(PAM_BIT) export FFLAGS+=$(PAM_BIT) # +ifeq ($(GCC4),) +export GCCVERS=$(shell echo `gcc -dumpversion | sed 's/\./\ /g'`) +export GCCVERMAJ=$(word 1,$(GCCVERS)) +export GCC4=$(shell echo `echo "${GCCVERMAJ} > 3" |bc -l`) +endif +# DIRS=event PamOffLineSW YodaProfiler # all: