shithub: scc

ref: a4f55bc2a984f51aa2afef82f7f6257dece7a09d
dir: /src/ld/Makefile/

View raw version
.POSIX:

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

OBJS = main.o \
       obj.o \

TARGET = $(BINDIR)/ld

all: $(TARGET)

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

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

dep: inc-dep

include deps.mk