dwmblocks

My build of dwmblocks.
git clone git://git.alex.balgavy.eu/dwmblocks.git
Log | Files | Refs | README | LICENSE

Makefile (362B)


      1 PREFIX ?= /usr/local
      2 CC ?= cc
      3 LDFLAGS = -lX11
      4 
      5 output: dwmblocks.c blocks.def.h blocks.h
      6 	${CC}  dwmblocks.c $(LDFLAGS) -o dwmblocks
      7 blocks.h:
      8 	cp blocks.def.h $@
      9 
     10 
     11 clean:
     12 	rm -f *.o *.gch dwmblocks
     13 install: output
     14 	mkdir -p $(DESTDIR)$(PREFIX)/bin
     15 	install -m 0755 dwmblocks $(DESTDIR)$(PREFIX)/bin/dwmblocks
     16 uninstall:
     17 	rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks