summaryrefslogtreecommitdiff
path: root/utils/lndir/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lndir/Makefile')
-rw-r--r--utils/lndir/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/lndir/Makefile b/utils/lndir/Makefile
new file mode 100644
index 0000000000..c8223df094
--- /dev/null
+++ b/utils/lndir/Makefile
@@ -0,0 +1,15 @@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+
+C_SRCS=lndir.c
+C_PROG=lndir
+
+CLEAN_FILES += $(C_PROG)$(exeext) $(C_OBJS)
+DESTDIR=$(INSTBINDIR)
+
+include $(TOP)/mk/target.mk
+
+# Win32: cygwin supports symlinks, so make sure we
+# don't feed in the mingw flags here. In other
+# words, lndir.exe is a cygwin-based app.
+CC_OPTS := $(filter-out -mno-cygwin,$(CC_OPTS))