summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ae4ea27..f544017 100644
--- a/Makefile
+++ b/Makefile
@@ -166,8 +166,8 @@ libs: $(OBJS)
-@echo "#endif" >> src/slapt.h
test: libs
- (cd t; make runtest)
+ (if [ -d t ]; then cd t; make runtest;fi)
testclean:
- -@(cd t; make clean)
+ -@(if [ -d t ]; then cd t; make clean;fi)