summaryrefslogtreecommitdiff
path: root/test/termios/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/termios/Makefile')
-rw-r--r--test/termios/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/termios/Makefile b/test/termios/Makefile
index 2f5c702e3..930cbdca3 100644
--- a/test/termios/Makefile
+++ b/test/termios/Makefile
@@ -7,16 +7,16 @@ TARGETS=termios termios_glibc
all: $(TARGETS)
-termios: termios.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
+termios: termios.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
-@ echo " "
- $(TESTCC) $(TEST_CFLAGS) -c $< -o $@.o
- $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+ $(CC) $(CFLAGS) -c $< -o $@.o
+ $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
-ldd $@
- ls $(LSFLAGS) $@
+ ls -l $@
-./$@
-@ echo " "
@@ -25,11 +25,11 @@ termios_glibc: termios.c Makefile
-@ echo " "
-@ echo "Compiling vs GNU libc: "
-@ echo " "
- $(CC) $(CFLAGS) -c $< -o $@.o
- $(CC) $(LDFLAGS) $@.o -o $@
+ $(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o
+ $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
-ldd $@
- ls $(LSFLAGS) $@
+ ls -l $@
-./$@
-@ echo " "