aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-01-03 02:01:55 -0500
committerB. Watson <urchlay@slackware.uk>2024-01-03 02:01:55 -0500
commit38ffb3343ce715a87bc030df948eca4b7efd391b (patch)
tree88f291c42f04b4442dbfb749ece5420b797424dc /Makefile
parent58002649e5d8f67884d88e6cebb0b116124f9ec3 (diff)
downloadhcalc-38ffb3343ce715a87bc030df948eca4b7efd391b.tar.gz
Makefile: add LIBS (default: empty).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f3bc344..cb743b4 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ PROJ = hcalc
CC = gcc
CFLAGS = -Wall -g
+LIBS =
DESTDIR =
PREFIX = /usr
@@ -49,7 +50,7 @@ config.o: config.c hcalc.h
images.o: images.c hcalc.h xpm/*.xpm
$(PROJ): $(OBJS)
- $(CC) -o $@ $^ $(LDFLAGS) -lXpm -lX11
+ $(CC) -o $@ $^ $(LDFLAGS) -lXpm -lX11 $(LIBS)
$(MANPAGE): $(PROJ).rst
rst2man $(PROJ).rst > $(MANPAGE)