summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2015-08-01 15:55:19 +0100
committerBen Laurie <ben@links.org>2015-08-01 22:09:25 +0100
commit9e83e6cda97ae9cb3167e5d8548a7ca0b54cc4e6 (patch)
tree37b9684d4a3f9fac8f7a5e2979dd7786af76fc6b /ssl
parente36ce2d986a5edbd33d6d176fb95c8046fae9725 (diff)
Make BSD make happy with subdirectories.
Reviewed-by: Richard Levitte
Diffstat (limited to 'ssl')
-rw-r--r--ssl/Makefile4
1 files changed, 4 insertions, 0 deletions
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)