shithub: scc

ref: 6ebdc448545eb48b37b63fed98c03e219b620c96
dir: /src/ld/Makefile/

View raw version
.POSIX:

PROJECTDIR = ../..
include $(PROJECTDIR)/scripts/rules.mk

OBJS = main.o \
       coff32.o \
       obj.o \

TARGET = $(BINDIR)/ld

all: $(TARGET)

$(TARGET): $(LIBDIR)/libcoff32.a $(LIBDIR)/libscc.a

$(TARGET): $(OBJS)
	$(CC) $(SCC_LDFLAGS) $(OBJS) -lcoff32 -lscc -o $@

dep: inc-dep

include deps.mk