let config.mak overwrite the default values (defensive coding style :-)

svn-id: r7715
This commit is contained in:
Max Horn 2003-05-20 10:24:24 +00:00
parent ad92ffa06d
commit 79cc9c6a2f
2 changed files with 9 additions and 8 deletions

View file

@ -1,10 +1,8 @@
# $Header$
include config.mak
# CXX := c++
CXX := c++
AR := ar cru
# RANLIB := ranlib
RANLIB := ranlib
RM := rm -f
MKDIR := mkdir -p
ECHO := echo -n
@ -23,9 +21,12 @@ CXXFLAGS:= -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-m
DEFINES := -DHAVE_CONFIG_H
LDFLAGS :=
INCLUDES:= -I. -Icommon
# LIBS :=
LIBS :=
OBJS :=
# Load the make rules generated by configure
include config.mak
# Load the build rules & settings for the chosen backend
-include build.rules

6
configure vendored
View file

@ -391,8 +391,8 @@ echo "Creating config.mak"
cat > config.mak << EOF
# -------- Generated by configure -----------
CXX = $CXX
LIBS = $LIBS
RANLIB = $_ranlib
CXX := $CXX
LIBS := $LIBS
RANLIB := $_ranlib
EOF