shithub: scc

ref: 1fc37685fd10a06a75bab2f6a147dd6e810b2b7f
dir: /src/cmd/ld/Makefile/

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

TARGET = $(BINDIR)/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