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:
Guus Sliepen 2014-12-26 15:58:28 +01:00
parent 8ee4004edf
commit aa2d4f8dd9

View file

@ -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