From 4ee7d4b9b6864c6c5c133ae3e941d8352ae9e29b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 14 Mar 2014 17:46:25 +0100 Subject: fix CFLAGS --- Makefile | 1 + udev/Makefile | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 496f6ca..7f01ecd 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +# commands INSTALL := install all: udev/ykfde 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 -- cgit v1.2.3-70-g09d2