summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-06-28 19:38:25 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-06-28 19:38:25 +0200
commit9b41192b25579dc745bf2e96bc4696deca792d1a (patch)
tree3e6a003db09aff1e32f36aa1ef19b7f5e5d3a3fa /Makefile
parentnow that's just commit spamming, isn't it (diff)
downloadircxmpp-9b41192b25579dc745bf2e96bc4696deca792d1a.tar
ircxmpp-9b41192b25579dc745bf2e96bc4696deca792d1a.tar.gz
ircxmpp-9b41192b25579dc745bf2e96bc4696deca792d1a.tar.bz2
ircxmpp-9b41192b25579dc745bf2e96bc4696deca792d1a.tar.lz
ircxmpp-9b41192b25579dc745bf2e96bc4696deca792d1a.tar.xz
ircxmpp-9b41192b25579dc745bf2e96bc4696deca792d1a.tar.zst
ircxmpp-9b41192b25579dc745bf2e96bc4696deca792d1a.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 33347ba..c4cc7f9 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ PROJ = ircxmpp
default:
$(CC) -c -DIX_LIB $(cflags) $(CFLAGS) $(PROJ).c
$(CC) -shared -olib$(PROJ).so $(PROJ).o
- $(CC) -L. $(cflags) $(CFLAGS) $(PROJ).c -l$(PROJ) $(ldflags) -o$(PROJ)
+ $(CC) -L. $(cflags) $(CFLAGS) $(PROJ).c -l$(PROJ) $(ldflags) $(LDFLAGS) -o$(PROJ)
install:
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/etc $(DESTDIR)/usr/include $(DESTDIR)/usr/lib
cp $(PROJ) $(DESTDIR)/usr/bin/