diff options
author | Your Name <you@example.com> | 2022-02-17 17:22:18 -0500 |
---|---|---|
committer | Your Name <you@example.com> | 2022-02-17 17:22:18 -0500 |
commit | a5cdc506789ac6aeb6f4256b892fedf046fff06c (patch) | |
tree | 559f40e49f2eaeedb5888db8bd24e0838b1a45a1 | |
parent | c91436e7d7eccebda3c776aec67a6c567eba1d58 (diff) | |
download | biblereader-a5cdc506789ac6aeb6f4256b892fedf046fff06c.tar.gz biblereader-a5cdc506789ac6aeb6f4256b892fedf046fff06c.tar.bz2 biblereader-a5cdc506789ac6aeb6f4256b892fedf046fff06c.zip |
Now respects environment LDFLAGS
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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` |