shithub: scc

ref: 8b178526d17c09010b94b2c6655c0c98648a2f68
dir: /lib/sys/libsys.mk/

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

include ../../../config.mk
include system.mk

ASM = $(OBJ:.o=.s)

all: libsys.a

libsys.a: $(OBJ)
	$(AR) $(ARFLAGS) $@ $?
	ranlib $@

$(ASM): syscall.lst
	../abi/$(ABI).sh

clean:
	rm -f $(ASM)
	rm -f $(OBJ)
	rm -f libsys.a

distclean: clean
	rm -f system.mk