diff options
| author | 2020-12-13 15:37:29 +0100 | |
|---|---|---|
| committer | 2020-12-13 15:43:34 +0100 | |
| commit | d5db3a0e927f80b71f1b04939cc01884c5ce806c (patch) | |
| tree | 5383a331efcc6789e857504d2c64ec3a33f857b2 /makefile | |
| parent | 620fed02671d624b74b7f8e54987e2ae5572019b (diff) | |
| download | xkbcat-d5db3a0e927f80b71f1b04939cc01884c5ce806c.tar.gz xkbcat-d5db3a0e927f80b71f1b04939cc01884c5ce806c.zip | |
Move linker flags to the end
Re #4. Apparently this matters; https://stackoverflow.com/a/409470.
The previous order (source file last) has worked for me locally on gcc
and clang on Void Linux the whole time, and it works in clang on Travis
too. Either way, Travis GCC will catch regressions.
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ xkbcat: xkbcat.c - $(CC) -O3 --std=c99 -pedantic -Wall -lX11 -lXi -o xkbcat xkbcat.c + $(CC) -O3 --std=c99 -pedantic -Wall xkbcat.c -o xkbcat -lX11 -lXi clean: rm --force xkbcat |
