From: Ben Laurie Date: Sat, 1 Aug 2015 14:55:19 +0000 (+0100) Subject: Make BSD make happy with subdirectories. X-Git-Tag: OpenSSL_1_1_0-pre1~864 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=9e83e6cda97ae9cb3167e5d8548a7ca0b54cc4e6 Make BSD make happy with subdirectories. Reviewed-by: Richard Levitte --- 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)