BSD make doesn't like .PHONY .c files.
It then thinks there should be a rule to make the .c file, which does not exist of course. Luckily, we can tell it that version.o is .PHONY, and this will still cause the .o file to be regenerated and linked into the binaries everytime make is called.
This commit is contained in:
parent
8ee4004edf
commit
aa2d4f8dd9
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
sbin_PROGRAMS = tincd tinc sptps_test sptps_keypair
|
||||
|
||||
## Make sure version.c is always rebuilt
|
||||
.PHONY: version.c
|
||||
.PHONY: version.o
|
||||
|
||||
if LINUX
|
||||
sbin_PROGRAMS += sptps_speed
|
||||
|
|
Loading…
Reference in a new issue