shithub: scc

ref: d47a56d8314f1c3d7e98c26fb6d132038faeb0b2
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