]> git.armaanb.net Git - dwmblocks.git/commitdiff
Merge pull request #17 from tph5595/patch-1
authortorrinfail <torrinfail@gmail.com>
Tue, 28 Jul 2020 17:07:43 +0000 (11:07 -0600)
committerGitHub <noreply@github.com>
Tue, 28 Jul 2020 17:07:43 +0000 (11:07 -0600)
Fixed argument order for gcc. This most likely fixes building on debian based systems. Thanks to tph5595

Makefile

index 3336e3cef0c342691673d06f7f16776beed5eaca..ad7e7012124a9d22173ff2c0487a50118f8466fa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 PREFIX ?= /usr/local
 CC ?= cc
 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