summaryrefslogtreecommitdiffstats
path: root/test/termios/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/termios/Makefile')
-rw-r--r--test/termios/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/test/termios/Makefile b/test/termios/Makefile
index 22868f4f2..a65022826 100644
--- a/test/termios/Makefile
+++ b/test/termios/Makefile
@@ -16,42 +16,37 @@
# along with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-TESTDIR=../
-include $(TESTDIR)/Rules.mak
-
-
+include ../Rules.mak
TARGETS=termios termios_glibc
all: $(TARGETS)
-termios: termios.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+termios: termios.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)
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
termios_glibc: termios.c Makefile
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs GNU libc: "
+ -@ echo "Compiling $@ vs glibc: "
-@ echo " "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
-$(LDD) $@
ls -l $@
- -./$@
+ ./$@
-@ echo " "
clean:
$(RM) *.[oa] *~ core $(TARGETS)
-
-