mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-02 02:58:01 +02:00
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:
committed by
R. Timothy Edwards
parent
73a6ac1650
commit
4b094e4632
+3
-1
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user