summaryrefslogtreecommitdiff
path: root/test/pthread/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-01 00:02:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-01 00:02:24 +0000
commit095ca55f2edd965fa9f3a5d3a4c98a7d7e852ed9 (patch)
tree074540e563757454c2c4adce2e3799a5ab766db8 /test/pthread/Makefile
parentde8b8b0b0bdd0f6012187dfc3046cac098000bb0 (diff)
remove old depend on Config and make it so that a test failure aborts the make process
Diffstat (limited to 'test/pthread/Makefile')
-rw-r--r--test/pthread/Makefile29
1 files changed, 14 insertions, 15 deletions
diff --git a/test/pthread/Makefile b/test/pthread/Makefile
index fb69640de..35842afc2 100644
--- a/test/pthread/Makefile
+++ b/test/pthread/Makefile
@@ -25,7 +25,7 @@ EXTRA_LIBS += -lpthread
TARGETS=ex1 ex2 ex3 ex4 ex5 ex6 ex7
all: $(TARGETS)
-ex1: ex1.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex1: ex1.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -33,10 +33,10 @@ ex1: ex1.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex2: ex2.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex2: ex2.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -44,10 +44,10 @@ ex2: ex2.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex3: ex3.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex3: ex3.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -55,10 +55,10 @@ ex3: ex3.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex4: ex4.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex4: ex4.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -66,10 +66,10 @@ ex4: ex4.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex5: ex5.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex5: ex5.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -77,10 +77,10 @@ ex5: ex5.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex6: ex6.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex6: ex6.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -88,10 +88,10 @@ ex6: ex6.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
-ex7: ex7.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+ex7: ex7.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -99,9 +99,8 @@ ex7: ex7.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@
-@ echo " "
clean:
$(RM) *.[oa] *~ core $(TARGETS)
-