shithub: scc

ref: 7cd063ed492f851b6b4f68c981d88ed6a761b372
dir: /lib/c/target/script/common.mk/

View raw version
SYSASM = $(SYS:.o=.s)

all: libc.a

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

clean:
	rm -f *.o *.a
	rm -f $(SYSASM)

$(SYSASM): syscall.lst
	../script/amd64-sysv.sh