X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=Makefile;h=fec5da45eb9de55c659f14710e5ab678aebab2cb;hb=771c0cb6072b3e90d4ed7007073552736c49e655;hp=8c3d904d66f6b7a4361b3b8f86ccdd4d2c461816;hpb=b7f891145503257759c44f5737eabe3010eae2af;p=dmenu.git diff --git a/Makefile b/Makefile index 8c3d904..fec5da4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # dmenu - dynamic menu -# (C)opyright MMVI Anselm R. Garbe +# (C)opyright MMVII Anselm R. Garbe include config.mk @@ -7,7 +7,6 @@ SRC = draw.c main.c util.c OBJ = ${SRC:.c=.o} all: options dmenu - @echo finished options: @echo dmenu build options: @@ -20,11 +19,7 @@ options: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: dmenu.h config.h - -config.h: - @echo creating $@ from config.default.h - @cp config.default.h $@ +${OBJ}: dmenu.h config.mk dmenu: ${OBJ} @echo LD $@ @@ -38,8 +33,7 @@ clean: dist: clean @echo creating dist tarball @mkdir -p dmenu-${VERSION} - @cp -R LICENSE Makefile README config.*.h config.mk \ - dmenu.1 dmenu.h ${SRC} dmenu-${VERSION} + @cp -R LICENSE Makefile README config.mk dmenu.1 dmenu.h ${SRC} dmenu-${VERSION} @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} @gzip dmenu-${VERSION}.tar @rm -rf dmenu-${VERSION}