disco-dl

Discography/album downloader
git clone git://git.wimdupont.com/disco-dl.git
Log | Files | Refs | LICENSE

commit 64e45df5da0e2259f39ab77d52b083eddd8413ac
parent e36b9b86c90757351de124e4938fdf2075cdf7a1
Author: Wim Dupont <wim@wimdupont.com>
Date:   Sun, 22 Dec 2024 21:35:13 +0100

updated config setup

Diffstat:
M.gitignore | 1+
MMakefile | 6+++---
Rconfig.h -> config.def.h | 0
3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,2 +1,3 @@ *.o disco-dl +config.h diff --git a/Makefile b/Makefile @@ -12,12 +12,12 @@ SRC = ${BIN:=.c} OBJ = ${SRC:.c=.o} MAN1 = ${BIN:=.1} +${OBJ}: config.h + all: ${BIN} ${BIN}: ${@:=.o} -${OBJ}: config.h - .o: ${OBJ} ${CC} -o $@ ${OBJ} ${LDFLAGS} @@ -25,7 +25,7 @@ clean: rm -f ${BIN} ${OBJ} config.h: - cp config.h $@ + cp config.def.h $@ install: all mkdir -p ${DESTDIR}${PREFIX}/bin diff --git a/config.h b/config.def.h