aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7cf74ec..a3805e1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
CC =gcc
CFLAGS = -O3 -s -mtune=native -Wall -Wextra
-CLIBS = -X11
+CLIBS = -lX11
-hotkey: hotkey.c
- $(CC) -o hotkey -c hotkey.c $(CFLAGS)
+hotkey: hotkey.c keys.h
+ $(CC) hotkey.c -o hotkey $(CFLAGS) $(CLIBS)
clean:
rm hotkey