chiark / gitweb /
document changes to make version 4.26
[bible-kjv.git] / Makefile
index c52b0ea709d561be97f74203ae7454590af61220..3b998b8946cede50e1ca18bc42ef64f81f486d2e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -89,7 +89,8 @@ DESTMAN1      = $(DESTMAN)/man1
 # I use environment variables for these...
 #CFLAGS              = -g
 CFLAGS       = -Wall -Wformat -Werror -Wshadow -W -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wbad-function-cast -Wpointer-arith -g2 -ggdb -DDESTLIB=\"$(DESTLIB)\"
-LDFLAGS       = -lreadline
+LDFLAGS       = 
+LDADD         = -lreadline
 
 # release directories.  Nobody should care about this but me
 FTPHOME              = /mnt/ftp
@@ -201,7 +202,7 @@ TOOLSDIST     = $(TOOLSRCS) \
 ###############################################################################
 $(PROGRAM):    $(PROGOBJS)
                @echo "Linking $@ ..."
-               @$(LD) $(LDFLAGS) $(PROGOBJS) -o $@
+               @$(LD) $(LDFLAGS) $(PROGOBJS) $(LDADD) -o $@
                @echo "done"