diff options
| author | 2020-01-13 14:59:05 +0100 | |
|---|---|---|
| committer | 2020-01-13 14:59:05 +0100 | |
| commit | f64ab5a072122cd0d1c01eb28091e49b26dbfdbf (patch) | |
| tree | 6c37008d4c4ef284bcdc66f30f892832ac8e85a3 | |
| parent | 6021c4be7d928157b93ff3d5705ff98cc558e8da (diff) | |
| download | xkbcat-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-- | makefile | 2 | ||||
| -rw-r--r-- | readme.markdown | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -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. |
