summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-11-25 12:15:37 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-11-25 12:15:37 +0100
commit3c150b24fbe38ce4698b6c49816955401de33c36 (patch)
treea1c5281c5cde7515c1c961cca96b605159940359
parent7ac4c166ba84fcdc4498a37b960f7b3f6b7cac9d (diff)
downloadmkinitcpio-ykfde-3c150b24fbe38ce4698b6c49816955401de33c36.tar.gz
mkinitcpio-ykfde-3c150b24fbe38ce4698b6c49816955401de33c36.tar.zst
Makefile: change order of compiler parameters
-rw-r--r--bin/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 1af9e16..67d3066 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -11,13 +11,13 @@ LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
all: worker ykfde ykfde-cpio
worker: worker.c ../config.h
- $(CC) $(CFLAGS) $(CFLAGS_YUBIKEY) $(CFLAGS_SYSTEMD) $(LDFLAGS) -o worker worker.c
+ $(CC) worker.c $(CFLAGS) $(CFLAGS_YUBIKEY) $(CFLAGS_SYSTEMD) $(LDFLAGS) -o worker
ykfde: ykfde.c ../config.h ../version.h
- $(CC) $(CFLAGS) $(CFLAGS_YUBIKEY) $(CFLAGS_SYSTEMD) -lcryptsetup $(LDFLAGS) -o ykfde ykfde.c
+ $(CC) ykfde.c $(CFLAGS) $(CFLAGS_YUBIKEY) $(CFLAGS_SYSTEMD) -lcryptsetup $(LDFLAGS) -o ykfde
ykfde-cpio: ykfde-cpio.c ../config.h ../version.h
- $(CC) $(CFLAGS) -larchive $(LDFLAGS) -o ykfde-cpio ykfde-cpio.c
+ $(CC) ykfde-cpio.c $(CFLAGS) -larchive $(LDFLAGS) -o ykfde-cpio
install: worker ykfde ykfde-cpio
$(INSTALL) -D -m0755 worker $(DESTDIR)/usr/lib/ykfde/worker