Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
414 B

  1. .POSIX:
  2. PREFIX = /usr/local
  3. CC = gcc
  4. dwmblocks: dwmblocks.o
  5. $(CC) dwmblocks.o -lX11 -o dwmblocks
  6. dwmblocks.o: dwmblocks.c config.h
  7. $(CC) -c dwmblocks.c
  8. clean:
  9. rm -f *.o *.gch dwmblocks
  10. install: dwmblocks
  11. mkdir -p $(DESTDIR)$(PREFIX)/bin
  12. cp -f dwmblocks $(DESTDIR)$(PREFIX)/bin
  13. chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks
  14. uninstall:
  15. rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks
  16. .PHONY: clean install uninstall