aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-11-25 12:08:27 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-11-25 12:08:27 +0100
commit697ad838ee9312bb947d6d9992f84d0f3b41d607 (patch)
treebc0d56640220d34c423d29d876688f87732b5414 /lib/Makefile
parentabf1ac3f4088ac8f0e9ea41ec6c5606eb07b51a1 (diff)
downloadcqrlogo-697ad838ee9312bb947d6d9992f84d0f3b41d607.tar.gz
cqrlogo-697ad838ee9312bb947d6d9992f84d0f3b41d607.tar.zst
Makefile: change order of compiler parameters
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 9cd78c5..068a482 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -15,10 +15,10 @@ LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
all: libcqrlogo.so
libcqrlogo.o: libcqrlogo.c libcqrlogo.h ../config.h ../version.h Makefile
- $(CC) $(CFLAGS) -c -o libcqrlogo.o libcqrlogo.c
+ $(CC) libcqrlogo.c $(CFLAGS) -c -o libcqrlogo.o
libcqrlogo.so: libcqrlogo.c libcqrlogo.h ../config.h ../version.h Makefile
- $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libcqrlogo.so.$(SOVERSION) -o libcqrlogo.so.$(SOVERSION) libcqrlogo.c
+ $(CC) libcqrlogo.c $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libcqrlogo.so.$(SOVERSION) -o libcqrlogo.so.$(SOVERSION)
$(LN) -sf libcqrlogo.so.$(SOVERSION) libcqrlogo.so
clean: