aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-23 17:03:37 +0300
committerCem Keylan <cem@ckyln.com>2021-09-23 17:03:37 +0300
commit96cc0c38a827ac197099498cbce8191c3a2e1e35 (patch)
treef6c0cb6a710c60825f013aa8ebf778e6b54f9f75 /Makefile
parent918a08feba26b48a7825ad9b592c0ee8ad5c1f55 (diff)
downloadotools-96cc0c38a827ac197099498cbce8191c3a2e1e35.tar.gz
tsort: add new tool1.5.0
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 = \