shithub: scc

ref: abef896b724bbd7f0f2ef2c80df4f479dfac297d
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)