diff options
Diffstat (limited to 'libc/termios/Makefile')
-rw-r--r-- | libc/termios/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/termios/Makefile b/libc/termios/Makefile index d0d64681d..a4ff4b7d9 100644 --- a/libc/termios/Makefile +++ b/libc/termios/Makefile @@ -2,13 +2,10 @@ # This file is part of the Linux-8086 C library and is distributed # under the GNU Library General Public License. -LIBC=../libc.a - -CC=$(CROSS)gcc -AR=$(CROSS)ar -RANLIB=$(CROSS)ranlib +TOPDIR=../ +include $(TOPDIR)Rules.make -CCFLAGS= -O2 $(CPUFLAGS) -I../include +LIBC=../libc.a TSRC=termios.c TOBJ=tcsetattr.o tcgetattr.o tcdrain.o tcflow.o tcflush.o tcsendbreak.o \ @@ -21,8 +18,6 @@ OBJ=$(TOBJ) ttyname.o # unlike everything else, this does not compile out of the box... # ttyname.o -CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS) - all: $(LIBC) @$(RM) $(OBJ) |