Fixed argument order for gcc
[dwmblocks.git] / Makefile
index c45a563..b12bff6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 PREFIX ?= /usr/local
 
 output: dwmblocks.c blocks.h
-       cc `pkg-config --cflags x11` `pkg-config --libs x11` dwmblocks.c -o dwmblocks
+       cc dwmblocks.c `pkg-config --cflags x11` `pkg-config --libs x11` -o dwmblocks
 clean:
        rm -f *.o *.gch dwmblocks
 install: output