shithub: scc

ref: b81141894f3c7f562bde8c125087cb51f00ae53a
dir: /lib/sys/libsys.mk/

View raw version
.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