Make from a single config file; Remove dist option

This commit is contained in:
2024-06-24 20:15:31 +01:00
parent 7377418a43
commit bfd5be22cb
14 changed files with 8 additions and 1009 deletions

View File

@@ -16,14 +16,11 @@ options:
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
dwmblocks: dwmblocks.c blocks.def.h blocks.h
dwmblocks: dwmblocks.c blocks.h
${CC} -o dwmblocks dwmblocks.c ${CFLAGS} ${LDFLAGS}
blocks.h:
cp blocks.def.h $@
clean:
rm -f *.o *.gch dwmblocks blocks.h
rm -f *.o *.gch dwmblocks
install: dwmblocks
mkdir -p ${DESTDIR}${PREFIX}/bin