summaryrefslogtreecommitdiff
path: root/libc/error/Makefile
blob: 8ec26dc6df25335fc7864f5567f29b35684bf10e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright (C) 1996 Robert de Bath <robert@debath.thenet.co.uk>
# This file is part of the Linux-8086 C library and is distributed
# under the GNU Library General Public License.

CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)

ifeq ($(LIB_OS),ELKS)
OBJ=error.o sys_errlist.o perror.o sys_siglist.o __assert.o

all: $(LIBC)($(OBJ))
	@$(RM) $(OBJ)
else
all:
	@:
endif

clean:
	rm -f *.o libc.a