shithub: scc

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