Skip to content

Commit

Permalink
in gcc call, moving -l options (generated by pkg-config) to end of co…
Browse files Browse the repository at this point in the history
…mmand line so they are found when linking
  • Loading branch information
Volker Siegel committed Dec 23, 2012
1 parent 4e9e70b commit 13f6421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ all: xsetprop
@echo "[DONE]"

xsetprop: xsetprop.c
gcc `pkg-config --libs --cflags x11 xmu` $^ -o $@
gcc $^ -o $@ `pkg-config --libs --cflags x11 xmu`

### Makefile ends here

0 comments on commit 13f6421

Please sign in to comment.