commit 73a4021160e9c23e673b0f4acd549d9bfea794a8
parent e1132bedbf11f776a7be6a04df9cd8726d35a751
Author: Wim Dupont <wim@wimdupont.com>
Date: Thu, 19 Dec 2024 16:47:31 +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 = cex
SRC = cex.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) $<
-cex: cex.o
+cex: ${OBJ}
${CC} -g -o $@ ${OBJ} ${LDFLAGS}
clean: