Makefile 221 B

12345678910
  1. output: dwmblocks.o
  2. gcc dwmblocks.o -lX11 -o dwmblocks
  3. dwmblocks.o: dwmblocks.c blocks.h
  4. gcc -c -lX11 dwmblocks.c
  5. clean:
  6. rm *.o *.gch dwmblocks
  7. install: output
  8. mkdir -p /usr/local/bin
  9. cp -f dwmblocks /usr/local/bin