From 38ffb3343ce715a87bc030df948eca4b7efd391b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 3 Jan 2024 02:01:55 -0500 Subject: Makefile: add LIBS (default: empty). --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3