fix bsd make

This commit is contained in:
Lev Walkin 2017-07-06 14:00:05 +00:00
parent c56b566453
commit 38b3e23d9d
1 changed files with 3 additions and 3 deletions

View File

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