summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-15 06:41:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-15 06:41:08 -0700
commitbc9ba2ccd70756b9c2c006bf8a357b38d198aee2 (patch)
tree6f7373910fe0aee7575f274d4ba0c9759f630b98 /Makefile
parentb1e62b22783b3fb3b32ccfae2f41c08433190538 (diff)
downloadtxr-bc9ba2ccd70756b9c2c006bf8a357b38d198aee2.tar.gz
txr-bc9ba2ccd70756b9c2c006bf8a357b38d198aee2.tar.bz2
txr-bc9ba2ccd70756b9c2c006bf8a357b38d198aee2.zip
Adding ftw function.
* Makefile (ftw.o): Add to OBJS-y conditionally. * configure (have_ftw): New variable. New configure test for nftw. (gen_config_make): Set up have_ftw make variable. * ftw.c, ftw.h: New files. * lib.c (init): Call ftw_init, if compiled in. * txr.1: Documented.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 99959b30..dae4438b 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,7 @@ OBJS += args.o lisplib.o cadr.o struct.o jmp.o
OBJS-$(debug_support) += debug.o
OBJS-$(have_syslog) += syslog.o
OBJS-$(have_glob) += glob.o
+OBJS-$(have_ftw) += ftw.o
OBJS-$(have_posix_sigs) += signal.o
OBJS-$(have_sockets) += socket.o
OBJS-$(have_termios) += linenoise/linenoise.o