commit 75db25a5f57f1cd75f1a431055345631093406b1
parent d78a0b4946c905611f35740693664a48deddc5ff
Author: Wim Dupont <wim@wimdupont.com>
Date: Thu, 19 Dec 2024 16:48:00 +0100
add config to obj
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -8,7 +8,7 @@ MANPREFIX = ${PREFIX}/share/man
BIN = scal
SRC = scal.c
-OBJ = ${SRC:.c=.o}
+OBJ = ${SRC:.c=.o} config.h
MAN1 = ${BIN:=.1}
all: ${BIN}
@@ -18,7 +18,7 @@ LDFLAGS=-lncurses
.c.o:
$(CC) -g -c $(CFLAGS) $<
-scal: ${OBJ} config.h
+scal: ${OBJ}
${CC} -g -o $@ ${OBJ} ${LDFLAGS}
clean: