aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4cc5547..769f113 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,8 @@ BIN = \
md5 \
patch \
pax \
- signify
+ signify \
+ tsort
LIB = lib/libbsd.a
LIBOBJ = \
@@ -74,7 +75,8 @@ MAN = \
bin/pax/cpio.1 \
bin/pax/pax.1 \
bin/pax/tar.1 \
- usr.bin/signify/signify.1
+ usr.bin/signify/signify.1 \
+ usr.bin/tsort/tsort.1
MANDOCLIBS = ${LIB}
GREPLIBS = ${LIB}
@@ -314,6 +316,14 @@ signify: ${SIGNIFYOBJ} ${LIB}
${CC} ${LDFLAGS} -o $@ ${SIGNIFYOBJ} ${LIB}
# ------------------------------------------------------------------------------
+# tsort
+TSORTOBJ = \
+ usr.bin/tsort/tsort.o
+BINOBJ += ${TSORTOBJ}
+tsort: ${TSORTOBJ} ${LIB}
+ ${CC} ${LDFLAGS} -o $@ ${TSORTOBJ} ${LIB}
+
+# ------------------------------------------------------------------------------
# hash helpers
HELPER = lib/libc/hash/helper.c
HASHOBJ = \