shithub: scc

ref: 8db36cf9b7f61d5dcd4af5324a1cc1c68dc7ed30
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