shithub: scc

ref: bfe0cd5f5e1638f05262642281f895a703008422
dir: /lib/c/target/script/common.mk/

View raw version
SYSASM = $(SYS:.o=.s)
TARGET = $(LIBDIR)/$(SYSNAME)/libc.a

all: $(TARGET)

$(TARGET): $(OBJ) $(SYS)
	$(AR) $(ARFLAGS) $@ $?
	ranlib $@

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

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