# HG changeset patch # User marci # Date 1082992463 0 # Node ID 4ce3d5f675ea155342d794f5607ccfad6b9df8d6 # Parent 8ef4ad91c189e4dc3a5a568a79a158d3c37b36e8 Better control of gcc version diff -r 8ef4ad91c189 -r 4ce3d5f675ea src/work/makefile --- a/src/work/makefile Mon Apr 26 14:52:51 2004 +0000 +++ b/src/work/makefile Mon Apr 26 15:14:23 2004 +0000 @@ -5,8 +5,12 @@ # Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam # ismert rendszeren :-) (Misi) -CXX := $(shell type -p g++-3.4 || type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) -#CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) +ifdef GCCVER +CXX := g++-$(GCCVER) +else +CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) +endif + CC := $(CXX)