From 43989bfe8b133c09a0b57a0a4a2249e64f3bc86d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 25 May 2001 20:58:22 +0000 Subject: termios test program, since I'm having difficulty on powerpc --- test/termios/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 test/termios/Makefile (limited to 'test/termios/Makefile') diff --git a/test/termios/Makefile b/test/termios/Makefile new file mode 100644 index 000000000..69c949a4a --- /dev/null +++ b/test/termios/Makefile @@ -0,0 +1,39 @@ +TESTDIR=../ +include $(TESTDIR)/Rules.mak + + + +TARGETS=termios termios_glibc + +all: $(TARGETS) + +termios: termios.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs uClibc: " + -@ echo " " + $(TESTCC) $(CFLAGS) -c $< -o $@.o + $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(STRIPTOOL) -x -R .note -R .comment $@ + -ldd $@ + ls $(LSFLAGS) $@ + -./$@ + -@ echo " " + +termios_glibc: termios.c Makefile + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs GNU libc: " + -@ echo " " + $(CC) $(CFLAGS) -c $< -o $@.o + $(CC) $(LDFLAGS) $@.o -o $@ + $(STRIPTOOL) -x -R .note -R .comment $@ + -ldd $@ + ls $(LSFLAGS) $@ + -./$@ + -@ echo " " + +clean: + rm -f *.[oa] *~ core $(TARGETS) + + -- cgit v1.2.3