summaryrefslogtreecommitdiffstats
path: root/bin/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-12-29 19:33:09 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-12-29 19:33:09 +0100
commit310b7a57bc03db660874eed67b049a910de369fd (patch)
tree39db1054602e0808b85f1336f1e4a377fa8e20f9 /bin/Makefile
parentf567df1043b845749f9db83cbca43c46ff80fe61 (diff)
downloadmkinitcpio-ykfde-310b7a57bc03db660874eed67b049a910de369fd.tar.gz
mkinitcpio-ykfde-310b7a57bc03db660874eed67b049a910de369fd.tar.zst
introduce config.h
We now have configuration in just one place.
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 4fcd6fb..6e77de8 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -7,10 +7,10 @@ CFLAGS += -std=c11 -O2 -fpic -pie -Wall -Werror
all: ykfde ykfde-cpio
-ykfde: ykfde.c
+ykfde: ykfde.c ../config.h
$(CC) $(CFLAGS) -lykpers-1 -lyubikey -liniparser -lcryptsetup $(LDFLAGS) -o ykfde ykfde.c
-ykfde-cpio: ykfde-cpio.c
+ykfde-cpio: ykfde-cpio.c ../config.h
$(CC) $(CFLAGS) -larchive $(LDFLAGS) -o ykfde-cpio ykfde-cpio.c
install: ykfde ykfde-cpio