Make BSD make happy with subdirectories.

Reviewed-by: Richard Levitte
This commit is contained in:
Ben Laurie 2015-08-01 15:55:19 +01:00
parent e36ce2d986
commit 9e83e6cda9

View File

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