X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=Makefile;h=0f29652f0d8e423747b602f6f893096981371c88;hb=26b9f3de0ffe471e5335b07454147457e373c037;hp=90f178b44e907d8d05685954e78ba618cbb1ff86;hpb=7afd296c40a2e8af9477add1c3d02a7c4b444747;p=dmenu.git diff --git a/Makefile b/Makefile index 90f178b..0f29652 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ options: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: config.h config.mk draw/libdraw.a +${OBJ}: config.h config.mk config.h: @echo creating $@ from config.def.h @@ -28,18 +28,14 @@ config.h: @echo CC -o $@ @${CC} -o $@ $< ${LDFLAGS} -draw/libdraw.a: - @cd draw && make - clean: @echo cleaning @rm -f dinput dmenu ${OBJ} dmenu-${VERSION}.tar.gz - @cd draw && make clean dist: clean @echo creating dist tarball @mkdir -p dmenu-${VERSION} - @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run draw ${SRC} dmenu-${VERSION} + @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION} @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} @gzip dmenu-${VERSION}.tar @rm -rf dmenu-${VERSION}