aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e3cebcf..64b914d 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,12 @@ all: ${BIN}
clean:
rm -f ${BIN} ${OBJ}
+test: ${BIN}
+ bin/cpt-stat bin
+ bin/cpt-stat Makefile
+ bin/cpt-readlink /bin/sh
+ shellcheck -P src -x -f gcc src/* contrib/*
+
install-bin: ${BIN}
for bin in ${BIN}; do \
install -Dm755 $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; done