Better control of gcc version
authormarci
Mon, 26 Apr 2004 15:14:23 +0000
changeset 4174ce3d5f675ea
parent 416 8ef4ad91c189
child 418 32a2a16027e0
Better control of gcc version
src/work/makefile
     1.1 --- a/src/work/makefile	Mon Apr 26 14:52:51 2004 +0000
     1.2 +++ b/src/work/makefile	Mon Apr 26 15:14:23 2004 +0000
     1.3 @@ -5,8 +5,12 @@
     1.4  
     1.5  # Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam
     1.6  # ismert rendszeren :-)  (Misi)
     1.7 -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++)
     1.8 -#CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     1.9 +ifdef GCCVER
    1.10 +CXX := g++-$(GCCVER)
    1.11 +else
    1.12 +CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
    1.13 +endif
    1.14 +
    1.15  CC := $(CXX)
    1.16  
    1.17