Commit 19008885 authored by Lev Walkin's avatar Lev Walkin

bsd compat

parent a4f68912
...@@ -117,9 +117,9 @@ TARGETS ...@@ -117,9 +117,9 @@ TARGETS
if [ "${MAKE_FUZZER}" != "yes" ]; then if [ "${MAKE_FUZZER}" != "yes" ]; then
CHECK_FUZZER=": # No fuzzer defined" CHECK_FUZZER="@echo \"No fuzzer defined, skipping.\""
cat <<TARGETS >> "${testdir}/Makefile.targets" cat <<TARGETS >> "${testdir}/Makefile.targets"
.PHONY check-fuzzer: .PHONY: check-fuzzer
check-fuzzer: check-fuzzer:
TARGETS TARGETS
else else
...@@ -142,6 +142,7 @@ check-succeeded: compiled-module ...@@ -142,6 +142,7 @@ check-succeeded: compiled-module
./check-executable ./check-executable
\$(MAKE) fuzz \$(MAKE) fuzz
@touch check-succeeded @touch check-succeeded
@echo "OK: ${source_full}"
.PHONY: fuzz .PHONY: fuzz
fuzz: fuzz:
...@@ -164,7 +165,7 @@ produce_specific_makefile() { ...@@ -164,7 +165,7 @@ produce_specific_makefile() {
SRCS_C!=find . -name \*.c SRCS_C!=find . -name \*.c
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}
include Makefile.targets include Makefile.targets
OBJECTS OBJECTS
else else
......
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