shithub: scc

ref: 5910169188d1329c851a057159206dd3bd5a8987
dir: /libc/src/Makefile/

View raw version
# See LICENSE file for copyright and license details.
.POSIX:

LIBCOBJ = assert.o strcpy.o strcmp.o strlen.o strchr.o \
          strrchr.o strcat.o strncpy.o strncat.o strcoll.o \
          memset.o memcpy.o memmove.o memcmp.o memchr.o \
          setlocale.o

all: libc.a

libc.a: $(LIBCOBJ)
	ar $(ARFLAGS) $@ $?
	ranlib $@

clean:
	rm -f *.o libc.a