From aa2d4f8dd9bab794dd197b92ba54e6428400555f Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 26 Dec 2014 15:58:28 +0100 Subject: [PATCH] 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. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 02d7ec2..6414cdf 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 -- 2.25.1