diff options
author | ryanm0 <ryanm0@protonmail.com> | 2020-08-04 23:16:36 -1000 |
---|---|---|
committer | ryanm0 <ryanm0@protonmail.com> | 2020-08-04 23:16:36 -1000 |
commit | f67807d3483aef73e9d860a38e86a0c019ba7ae1 (patch) | |
tree | f9fa2a61023a64b4daa5f6a49aec34e2d3473f94 /Makefile | |
parent | d3eed011269519dca2364e480bf32105b1dfd0d9 (diff) | |
download | dwmblocks-f67807d3483aef73e9d860a38e86a0c019ba7ae1.tar.gz dwmblocks-f67807d3483aef73e9d860a38e86a0c019ba7ae1.tar.bz2 dwmblocks-f67807d3483aef73e9d860a38e86a0c019ba7ae1.zip |
Makefile: fix "output" target name
Without the right target name, make will rebuild the target (dwmblocks)
every time make is run, even if the source files haven't changed.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,13 +2,13 @@ PREFIX = /usr/local -output: dwmblocks.o +dwmblocks: dwmblocks.o gcc dwmblocks.o -lX11 -o dwmblocks dwmblocks.o: dwmblocks.c config.h gcc -c -lX11 dwmblocks.c clean: rm -f *.o *.gch dwmblocks -install: output +install: dwmblocks mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f dwmblocks $(DESTDIR)$(PREFIX)/bin chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks |