Makefile: make config.h changes trigger recompile

This commit is contained in:
dogeystamp 2023-03-22 20:01:07 -04:00
parent dd5666a006
commit 8ddd5f0c0b
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -20,12 +20,14 @@ all: config.h minrss
debug: CFLAGS += -g3
debug: config.h minrss
config.h:
cp config.def.h config.h
$(OBJ): config.h
.c.o:
$(CC) $(CFLAGS) -c $< -o $@
config.h:
cp config.def.h config.h
minrss: $(OBJ)
$(CC) -o $@ $(OBJ) $(LIBS)