After running ./configure, running make on OpenBSD (tested on 6.5) results in the following syntax errors:
*** Parse error in /home/linetrace/Projects/roundup: Need an operator in 'SHOCCO' (Makefile:53)
*** Parse error: Need an operator in 'endif' (Makefile:55)
*** Parse error: Need an operator in 'RONN' (Makefile:58)
*** Parse error: Need an operator in 'else' (Makefile:60)
*** Parse error: Need an operator in 'endif' (Makefile:62)
*** Parse error: Need an operator in 'RONN' (Makefile:67)
*** Parse error: Need an operator in 'else' (Makefile:69)
*** Parse error: Need an operator in 'endif' (Makefile:73)
This is because, in OpenBSD's make (per the man page:
Makefile inclusion, conditional structures and for loops reminiscent of the C programming language are provided in make. All such structures are identified by a line beginning with a single dot (‘.’) character.
Adding the preceding dot (.) character to the conditional structures resolves the syntax errors. However, running make then fails with the following error (because GNU make's force targets don't seem to be supported by OpenBSD's make):
make: don't know how to make FORCE (prerequisite of: roundup)
Removing FORCE from roundup: roundup.sh FORCE resolves this issue.
After running
./configure, runningmakeon OpenBSD (tested on 6.5) results in the following syntax errors:This is because, in OpenBSD's
make(per the man page:Adding the preceding dot (
.) character to the conditional structures resolves the syntax errors. However, runningmakethen fails with the following error (because GNU make's force targets don't seem to be supported by OpenBSD'smake):Removing
FORCEfromroundup: roundup.sh FORCEresolves this issue.