summaryrefslogtreecommitdiff
path: root/libc/error/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/error/Makefile')
-rw-r--r--libc/error/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/error/Makefile b/libc/error/Makefile
index 8ec26dc..f14e956 100644
--- a/libc/error/Makefile
+++ b/libc/error/Makefile
@@ -6,13 +6,12 @@ CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
ifeq ($(LIB_OS),ELKS)
OBJ=error.o sys_errlist.o perror.o sys_siglist.o __assert.o
+else
+OBJ=__assert.o
+endif
all: $(LIBC)($(OBJ))
@$(RM) $(OBJ)
-else
-all:
- @:
-endif
clean:
rm -f *.o libc.a