Make BSD make happy with subdirectories.
[openssl.git] / ssl / Makefile
index d1fc049dd8f0127faf497c9b227a3752703dd2ee..973276aa168ab8511e371d90a50cc53c7d8d086b 100644 (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)