diff options
author | B. Watson <urchlay@slackware.uk> | 2024-01-03 02:01:55 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-01-03 02:01:55 -0500 |
commit | 38ffb3343ce715a87bc030df948eca4b7efd391b (patch) | |
tree | 88f291c42f04b4442dbfb749ece5420b797424dc /Makefile | |
parent | 58002649e5d8f67884d88e6cebb0b116124f9ec3 (diff) | |
download | hcalc-38ffb3343ce715a87bc030df948eca4b7efd391b.tar.gz |
Makefile: add LIBS (default: empty).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |