mirror of https://gerrit.osmocom.org/asn1c
fix bsd make
This commit is contained in:
parent
c56b566453
commit
38b3e23d9d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue