Commit 16555a1e authored by Lev Walkin's avatar Lev Walkin

cross-platform mandatory include

parent 0479e04d
...@@ -165,7 +165,7 @@ produce_specific_makefile() { ...@@ -165,7 +165,7 @@ produce_specific_makefile() {
SRCS_CXX!=find . -name \*.cc SRCS_CXX!=find . -name \*.cc
SRCS=\$(SRCS_C) \$(SRCS_CXX) SRCS=\$(SRCS_C) \$(SRCS_CXX)
OBJS=\${SRCS_C:.c=.o} ${SRCS_CXX:.cc=.o} OBJS=\${SRCS_C:.c=.o} ${SRCS_CXX:.cc=.o}
.sinclude <Makefile.targets> include Makefile.targets
OBJECTS OBJECTS
else else
cat <<-OBJECTS > ${make_file} cat <<-OBJECTS > ${make_file}
...@@ -175,7 +175,7 @@ produce_specific_makefile() { ...@@ -175,7 +175,7 @@ produce_specific_makefile() {
SRCS = \$(SRCS_C) \$(SRCS_CXX) SRCS = \$(SRCS_C) \$(SRCS_CXX)
OBJS =\$(patsubst %.c,%.o,\$(SRCS_C)) OBJS =\$(patsubst %.c,%.o,\$(SRCS_C))
OBJS+=\$(patsubst %.cc,%.o,\$(SRCS_CXX)) OBJS+=\$(patsubst %.cc,%.o,\$(SRCS_CXX))
-include Makefile.targets include Makefile.targets
OBJECTS OBJECTS
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment