summaryrefslogtreecommitdiff
path: root/test/signal
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-01 00:08:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-01 00:08:24 +0000
commit6eb01343b46aab40475112f05aeaff1a367223df (patch)
tree8231f10f5318f58ed72c566a005f7f57b77c5c04 /test/signal
parent095ca55f2edd965fa9f3a5d3a4c98a7d7e852ed9 (diff)
make test output nicer so its easier to go through a log of `make -s` and find out what works/fails
Diffstat (limited to 'test/signal')
-rw-r--r--test/signal/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/signal/Makefile b/test/signal/Makefile
index c47aa50ed..36a362ce9 100644
--- a/test/signal/Makefile
+++ b/test/signal/Makefile
@@ -19,6 +19,7 @@
include ../Rules.mak
CFLAGS += -D_GNU_SOURCE
+GLIBC_CFLAGS += -D_GNU_SOURCE
TARGETS=signal signal_glibc sigchld sigchld_glibc
all: $(TARGETS)
@@ -26,7 +27,7 @@ all: $(TARGETS)
signal: signal.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs uClibc: "
+ -@ echo "Compiling $@ vs uClibc: "
-@ echo " "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
@@ -37,7 +38,7 @@ signal: signal.c Makefile $(TESTDIR)/Rules.mak
signal_glibc: signal.c Makefile
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs GNU libc: "
+ -@ echo "Compiling $@ vs GNU libc: "
-@ echo " "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
@@ -48,7 +49,7 @@ signal_glibc: signal.c Makefile
sigchld: sigchld.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs uClibc: "
+ -@ echo "Compiling $@ vs uClibc: "
-@ echo " "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
@@ -59,7 +60,7 @@ sigchld: sigchld.c Makefile $(TESTDIR)/Rules.mak
sigchld_glibc: sigchld.c Makefile
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs GNU libc: "
+ -@ echo "Compiling $@ vs GNU libc: "
-@ echo " "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
@@ -69,5 +70,3 @@ sigchld_glibc: sigchld.c Makefile
clean:
$(RM) *.[oa] *~ core $(TARGETS)
-
-