From 9e83e6cda97ae9cb3167e5d8548a7ca0b54cc4e6 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 1 Aug 2015 15:55:19 +0100 Subject: [PATCH] Make BSD make happy with subdirectories. Reviewed-by: Richard Levitte --- ssl/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ssl/Makefile b/ssl/Makefile index d1fc049dd8..973276aa16 100644 --- a/ssl/Makefile +++ b/ssl/Makefile @@ -45,6 +45,10 @@ HEADER= ssl_locl.h record/record_locl.h record/record.h ALL= $(GENERAL) $(SRC) $(HEADER) +# BSD make and GNU make disagree on where output goes +.c.o: + $(CC) $(CFLAGS) -c $< -o $@ + top: (cd ..; $(MAKE) DIRS=$(DIR) all) -- 2.40.0