aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 35c6e6e..496aac6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CC=g++
LIBS=gtkmm-3.0
CFLAGS=-c -Wall
-LDFLAGS=-pthread -lbible
+LDLIBS=-pthread -lbible
SOURCES=header.cc main.cc mods.cc readerview.cc sword.cc
OBJECTS=$(SOURCES:.cc=.o)
EXECUTABLE=biblereader
@@ -22,7 +22,7 @@ install: $(EXECUTABLE)
install -m 644 biblereader_64.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/biblereader.png
$(EXECUTABLE): $(OBJECTS)
- $(CC) $(OBJECTS) -o $@ `pkg-config $(LIBS) --libs` $(LDFLAGS)
+ $(CC) $(OBJECTS) -o $@ $(LDFLAGS) `pkg-config $(LIBS) --libs` $(LDLIBS)
.cc.o:
$(CC) $(CFLAGS) $< -o $@ `pkg-config $(LIBS) --cflags`