diff options
Diffstat (limited to 'test/pthread/Makefile')
-rw-r--r-- | test/pthread/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/pthread/Makefile b/test/pthread/Makefile index c4b1c9e5e..16eb16e0f 100644 --- a/test/pthread/Makefile +++ b/test/pthread/Makefile @@ -5,7 +5,7 @@ LDFLAGS += #EXTRA_LIBS += -lc -lgcc -lpthread EXTRA_LIBS += -lpthread -TARGETS=ex1 ex2 ex3 ex4 ex5 ex6 +TARGETS=ex1 ex2 ex3 ex4 ex5 ex6 ex7 all: $(TARGETS) ex1: ex1.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) @@ -74,6 +74,17 @@ ex6: ex6.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) -./$@ -@ echo " " +ex7: ex7.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs uClibc: " + -@ echo " " + $(CC) $(CFLAGS) -c $< -o $@.o + $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(STRIPTOOL) -x -R .note -R .comment $@ + -./$@ + -@ echo " " + clean: rm -f *.[oa] *~ core $(TARGETS) |