BSD make does not understand the $^ macro. Using a hardcoded string
like "dvtm-editor.c" does not add a lot of cost and make compilation not
require gmake on OpenBSD and the like.
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 818ca0a..8fdda93 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ dvtm: config.h config.mk *.c *.h
${CC} ${CFLAGS} ${SRC} ${LDFLAGS} ${LIBS} -o $@
dvtm-editor: dvtm-editor.c
- ${CC} ${CFLAGS} $^ ${LDFLAGS} -o $@
+ ${CC} ${CFLAGS} dvtm-editor.c ${LDFLAGS} -o $@
man:
@for m in ${MANUALS}; do \
--
2.14.2