shithub: scc

ref: 18853825ec9395caec2bfd42e7fd95f4cd723402
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)