commit bf8674c31ca8a6dfd0f92d1996d09e22db3c3b20
parent 15c5cf091ac990eb1e69c3fced21d2389d9aef96
Author: Mario Rosell R. Martinez <mario@mariorosell.es>
Date: Sat, 4 Apr 2026 11:47:43 +0200
build: make it portable across makes
Now it works with both bmake and gmake, basically just changed the ${.VARIABLES}
things to more sustainable standard $< and $@. I don't know if on bmake this is
even idiomatic, but hey! IT WORKS, that is all I care about.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -19,7 +19,7 @@ BINDIR ?= usr/local/bin
.SUFFIXES: .c .o
.c.o:
- ${CC} ${CFLAGS} ${CPPFLAGS} -c ${.IMPSRC} -o ${.TARGET}
+ ${CC} ${CFLAGS} ${CPPFLAGS} -c $^ -o $@
all: ${TARG}