Closed ghost closed 1 month ago
Works for me on Fedora Linux. What is there around line 20 of the makefile for core?
After I updated to the latest code of you, the error message is more clear:
$ make
==> core
make: (makefile:20): command not allowed here
make: (if [ "${CLEANFILES}" != "" ]; then \
echo "rm -f ${CLEANFILES}"; \
rm -f ${CLEANFILES}; \
fi:45): failed to build 'all-subdir' exit 1
Works for me on Fedora Linux. What is there around line 20 of the makefile for core?
There is nothing interesting. BSDBuild is a collection of makefiles. The line number reported doesn't mean much because everything will be preprocessed. I tried to do a grep of if [ "${CLEANFILES}" != "" ];
and all instances of it are in the makefiles in the mk
directory.
the error message is more clear
Um, not really. Those error messages are supposed to give the name of the Makefile. How on earth does the second one think an if
statement is the name of a Makefile?
Commit 0e593f0575fb0feff25d1f85698bc3bb09a61d79 seems to fix this issue as well.
I'm testing this project: https://github.com/JulNadeauCA/libagar
The error message:
I'm using MSYS2 UCRT64.