From: Guus Sliepen Date: Fri, 26 Dec 2014 14:58:28 +0000 (+0100) Subject: BSD make doesn't like .PHONY .c files. X-Git-Tag: release-1.1pre11~6 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=aa2d4f8dd9bab794dd197b92ba54e6428400555f;p=tinc 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. --- diff --git a/src/Makefile.am b/src/Makefile.am index 02d7ec2b..6414cdfc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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