Remove SOURCE_C*FLAG definitions. Use COMPILER_C*FLAGS instead.

This commit is contained in:
Janet B. Anderson
2009-11-25 17:36:27 +00:00
parent 7c6afa76a4
commit d04e20e91b
2 changed files with 3 additions and 7 deletions

View File

@@ -196,10 +196,6 @@ OP_SYS_CXXFLAGS = $(OP_SYS_CFLAGS)
OP_SYS_LDFLAGS =
OP_SYS_INCLUDES =
# SOURCE* used by WIN32 only
SOURCE_CFLAG =
SOURCE_CXXCFLAG =
# Makefile specific flags
USR_INCLUDES =
USR_CFLAGS =
@@ -310,8 +306,8 @@ LEXOPT += -I
# Build compile line here
PATH_FILTER = $(1)
COMPILE.c = $(CC) -c $(CPPFLAGS) $(CFLAGS) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_FLAG)
COMPILE.cpp = $(CCC) -c $(CPPFLAGS) $(CXXFLAGS) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_CXXFLAG)
COMPILE.c = $(CC) -c $(CPPFLAGS) $(CFLAGS) $(call PATH_FILTER,$(INCLUDES))
COMPILE.cpp = $(CCC) -c $(CPPFLAGS) $(CXXFLAGS) $(call PATH_FILTER,$(INCLUDES))
#--------------------------------------------------
# C preprocessor command

View File

@@ -118,7 +118,7 @@ OBJ=.o
# Problem: BorlandC does not recognize *.cc as C++ source,
# we have to compile xx.cc using the flag -P xx.cc,
SOURCE_CXXFLAG = -P
COMPILER_CXXFLAGS = -P
# Operating system flags
OP_SYS_CFLAGS =