about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-03-31 17:24:26 +0300
committerNakidai <nakidai@disroot.org>2025-03-31 17:24:26 +0300
commitd7abb53dc840f08b399369bde71351e108b3ffcd (patch)
treef3d2c537963d94ec0be50e7d9203bf7637bba95c /Makefile
parent445784a629c99336d47b31ea9540bd95bbb97dc1 (diff)
download3cl-d7abb53dc840f08b399369bde71351e108b3ffcd.tar.gz
3cl-d7abb53dc840f08b399369bde71351e108b3ffcd.zip
Add test target to main Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ca51ad7..fdef3d2 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ ${OBJS}: cccl.h
 3cl: ${OBJS}
 	${CC} ${LDFLAGS} -o 3cl ${OBJS} ${LDLIBS}
 
+test: all
+	make -C examples
+
 install: all
 	install -d ${BINDIR} ${MANDIR}/man1
 	install -m755 3cl ${BINDIR}