summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ctype/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ctype/Makefile b/test/ctype/Makefile
index b8b415c5d..ca689f33f 100644
--- a/test/ctype/Makefile
+++ b/test/ctype/Makefile
@@ -1,7 +1,7 @@
TESTDIR=../
include $(TESTDIR)/Rules.mak
-TARGETS=ctype
+TARGETS=ctype ctype_run
all: $(TARGETS)
ctype: ctype.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
@@ -12,7 +12,9 @@ ctype: ctype.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- ./$@
+
+ctype_run:
+ ./ctype
-@ echo " "
clean:
rm -f *.[oa] *~ core $(TARGETS)