Browse Source

Changed Makefile to use pkg-config to find libraries.

master
Aidan 5 years ago
parent
commit
3906995607
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      Makefile

+ 2
- 4
Makefile View File

@ -1,7 +1,5 @@
output: dwmblocks.o
gcc dwmblocks.o -lX11 -o dwmblocks
dwmblocks.o: dwmblocks.c blocks.h
gcc -c -lX11 dwmblocks.c
output: dwmblocks.c blocks.h
cc `pkg-config --cflags x11` `pkg-config --libs x11` dwmblocks.c -o dwmblocks
clean:
rm -f *.o *.gch dwmblocks
install: output


Loading…
Cancel
Save