summaryrefslogtreecommitdiff
path: root/libc/termios/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/Makefile')
-rw-r--r--libc/termios/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/termios/Makefile b/libc/termios/Makefile
index c978638..7903bc2 100644
--- a/libc/termios/Makefile
+++ b/libc/termios/Makefile
@@ -10,17 +10,17 @@ TOBJ=tcsetattr.o tcgetattr.o tcdrain.o tcflow.o tcflush.o tcsendbreak.o \
tcsetpgrp.o tcgetpgrp.o isatty.o \
cfgetospeed.o cfgetispeed.o cfsetospeed.o cfsetispeed.o cfmakeraw.o
+ifeq ($(LIB_OS),ELKS)
OBJ=$(TOBJ) ttyname.o
+else
+OBJ=
+endif
all: $(OBJ)
-ifeq ($(PLATFORM),i86-DOS)
-libc.a:
-else
libc.a: $(OBJ)
ar r ../$(LIBC) $(OBJ)
@touch libc.a
-endif
clean:
rm -f *.o libc.a