aboutsummaryrefslogtreecommitdiffstats
path: root/udev/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-03-14 17:46:25 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-03-14 17:46:25 +0100
commit4ee7d4b9b6864c6c5c133ae3e941d8352ae9e29b (patch)
tree1aba3f2569a90e44987f468793c89a6e32339ae2 /udev/Makefile
parentfd3935d721a43141254f86864b195a6a6ceedd77 (diff)
downloadmkinitcpio-ykfde-4ee7d4b9b6864c6c5c133ae3e941d8352ae9e29b.tar.gz
mkinitcpio-ykfde-4ee7d4b9b6864c6c5c133ae3e941d8352ae9e29b.tar.zst
fix CFLAGS
Diffstat (limited to 'udev/Makefile')
-rw-r--r--udev/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/udev/Makefile b/udev/Makefile
index ff4ed5a..ad3786e 100644
--- a/udev/Makefile
+++ b/udev/Makefile
@@ -1,11 +1,14 @@
+# commands
CC := gcc
INSTALL := install
RM := rm
+# flags
+CFLAGS += -O2 -Wall -Werror
all: ykfde
ykfde: ykfde.c
- $(CC) $(FLAGS) -lykpers-1 -lyubikey -liniparser $(LDFLAGS) -o ykfde ykfde.c
+ $(CC) $(CFLAGS) -lykpers-1 -lyubikey -liniparser $(LDFLAGS) -o ykfde ykfde.c
install: ykfde
$(INSTALL) -D -m0644 20-ykfde.rules $(DESTDIR)/usr/lib/initcpio/udev/20-ykfde.rules