summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Antti Korpi2020-01-13 14:59:05 +0100
committerGravatar Antti Korpi2020-01-13 14:59:05 +0100
commitf64ab5a072122cd0d1c01eb28091e49b26dbfdbf (patch)
tree6c37008d4c4ef284bcdc66f30f892832ac8e85a3
parent6021c4be7d928157b93ff3d5705ff98cc558e8da (diff)
downloadxkbcat-f64ab5a072122cd0d1c01eb28091e49b26dbfdbf.tar.gz
xkbcat-f64ab5a072122cd0d1c01eb28091e49b26dbfdbf.zip
Use $(CC) in makefile, over hardcoding compiler
Who knows what C compiler users like to use. This should cause the right one to be chosen automatically.
-rw-r--r--makefile2
-rw-r--r--readme.markdown2
2 files changed, 1 insertions, 3 deletions
diff --git a/makefile b/makefile
index fbbde43..f9166ab 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
xkbcat: xkbcat.c
- clang -O3 --std=c99 -pedantic -Wall -lX11 -lXi -o xkbcat xkbcat.c
+ $(CC) -O3 --std=c99 -pedantic -Wall -lX11 -lXi -o xkbcat xkbcat.c
clean:
rm --force xkbcat
diff --git a/readme.markdown b/readme.markdown
index c00f8dd..0a77a46 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -34,8 +34,6 @@ work too, as do most media keys like `XF86AudioLowerVolume`.
Just `make`.
-Don't have `clang`? Edit the `makefile` to use `gcc`.
-
Don't have `X11/extensions/XInput2.h`? Install your distro's `libxi-devel`
package.