summaryrefslogtreecommitdiff
path: root/test/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'test/pthread')
-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)
-