Commit 38b3e23d authored by Lev Walkin's avatar Lev Walkin

fix bsd make

parent c56b5664
...@@ -97,14 +97,14 @@ produce_specific_makefile() { ...@@ -97,14 +97,14 @@ produce_specific_makefile() {
local make_file="$testdir/${make_type}makefile" local make_file="$testdir/${make_type}makefile"
if [ ${make_type} = "BSD" ]; then if [ ${make_type} = "BSD" ]; then
cat <<-OBJECTS >> ${make_file} cat <<-OBJECTS > ${make_file}
${AUTOGENERATED} ${AUTOGENERATED}
SRCS!=find . -name \*.c SRCS!=find . -name \*.c
OBJS=\${SRCS:.c=.o} OBJS=\${SRCS:.c=.o}
.sinclude Makefile.targets .sinclude <Makefile.targets>
OBJECTS OBJECTS
else else
cat <<-OBJECTS >> ${make_file} cat <<-OBJECTS > ${make_file}
${AUTOGENERATED} ${AUTOGENERATED}
OBJS=\$(patsubst %.c,%.o,\$(wildcard *.c)) OBJS=\$(patsubst %.c,%.o,\$(wildcard *.c))
-include Makefile.targets -include Makefile.targets
......
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