defs.mak.in: OBJS split into C_OBJS CXX_OBJS
This split has the effect (with modified .o.c Makefile rule of correctly using the $CC for .c files and not try to build .cpp with C compiler, which fails in oa/** for example.
This commit is contained in:
parent
73a6ac1650
commit
4b094e4632
|
|
@ -108,6 +108,8 @@ OA = @OA@
|
|||
OA_LIBS = @OA_LIBS@
|
||||
|
||||
DEPSRCS = ${SRCS}
|
||||
OBJS = ${SRCS:.c=.o} ${CXXSRCS:.cpp=.o}
|
||||
C_OBJS = ${SRCS:.c=.o}
|
||||
CXX_OBJS = ${CXXSRCS:.cpp=.o}
|
||||
OBJS = ${CXX_OBJS} ${C_OBJS}
|
||||
LIB_OBJS = ${LIB_SRCS:.c=.o}
|
||||
CLEANS = Depend ${OBJS} ${LIB_OBJS} lib${MODULE}.a lib${MODULE}.o ${MODULE}
|
||||
|
|
|
|||
Loading…
Reference in New Issue