shithub: scc

ref: 3ba625a83430f2616905108eaa93ac8c9009d45a
dir: /src/libcrt/Makefile/

View raw version
.POSIX:
PROJECTDIR=../..
include $(PROJECTDIR)/scripts/rules.mk

OBJS   = crt-$(SYS).o crt-$(ABI).o
TARGET = $(CRTDIR)/$(ARCH)-$(SYS)/crt.o

all: $(TARGET)

$(TARGET): $(OBJS)
	$(LD) -r -o $@ $(OBJS)