diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-08-05 07:57:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 07:57:53 -0400 |
commit | 8b313712dc8000ce65b229e3089f429bc9fc8cd9 (patch) | |
tree | 2315da721af6883779772a6207691c471cd65df7 | |
parent | d3eed011269519dca2364e480bf32105b1dfd0d9 (diff) | |
parent | 841a60783024d882e3dad3713f08712a9deae09e (diff) | |
download | dwmblocks-8b313712dc8000ce65b229e3089f429bc9fc8cd9.tar.gz dwmblocks-8b313712dc8000ce65b229e3089f429bc9fc8cd9.tar.bz2 dwmblocks-8b313712dc8000ce65b229e3089f429bc9fc8cd9.zip |
Merge pull request #46 from ryanm0/master
Makefile improvements
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,14 +1,15 @@ .POSIX: PREFIX = /usr/local +CC = gcc -output: dwmblocks.o - gcc dwmblocks.o -lX11 -o dwmblocks +dwmblocks: dwmblocks.o + $(CC) dwmblocks.o -lX11 -o dwmblocks dwmblocks.o: dwmblocks.c config.h - gcc -c -lX11 dwmblocks.c + $(CC) -c 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 |