diff options
| author | bard <[email protected]> | 2024-04-15 06:24:14 -0400 |
|---|---|---|
| committer | bard <[email protected]> | 2024-04-15 06:24:14 -0400 |
| commit | 168120d4068eff9816c11f0503738c12861821ae (patch) | |
| tree | 635e839eeca920432fcaa8417b282e074e84a4c2 /dwm/Repositories/luke-dwmblocks/Makefile | |
initial commit
Diffstat (limited to 'dwm/Repositories/luke-dwmblocks/Makefile')
| -rw-r--r-- | dwm/Repositories/luke-dwmblocks/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dwm/Repositories/luke-dwmblocks/Makefile b/dwm/Repositories/luke-dwmblocks/Makefile new file mode 100644 index 0000000..5cfbb5a --- /dev/null +++ b/dwm/Repositories/luke-dwmblocks/Makefile @@ -0,0 +1,19 @@ +.POSIX: + +PREFIX = /usr/local +CC = gcc + +dwmblocks: dwmblocks.o + $(CC) dwmblocks.o -lX11 -o dwmblocks +dwmblocks.o: dwmblocks.c config.h + $(CC) -c dwmblocks.c +clean: + rm -f *.o *.gch dwmblocks +install: dwmblocks + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp -f dwmblocks $(DESTDIR)$(PREFIX)/bin + chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks +uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks + +.PHONY: clean install uninstall |
