shithub: scc

ref: efda45c11a438f0a83f57f55b34abb812f32cd53
dir: /src/cmd/ld/Makefile/

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

TARGET = $(BINDIR)/scc-ld

OBJS =\
	main.o\
	symbol.o\
	section.o\
	pass1.o\
	pass2.o \
#	pass3.o \
#       pass4.o \
#       pass5.o \

all: $(TARGET)

$(TARGET): $(OBJS) $(LIBMACH) $(LIBSCC)
	$(CC) $(PROJ_LDFLAGS) $(OBJS) -lmach -lscc -o $@

include deps.mk