Makefile (335B)
1 .POSIX: 2 PROJECTDIR = ../../.. 3 include $(PROJECTDIR)/scripts/rules.mk 4 5 TARGET = scc-ld 6 7 OBJS =\ 8 main.o\ 9 symbol.o\ 10 section.o\ 11 pass1.o\ 12 pass2.o \ 13 # pass3.o \ 14 # pass4.o \ 15 # pass5.o \ 16 17 all: $(TARGET) 18 19 $(TARGET): $(OBJS) $(LIBMACH) $(LIBSCC) 20 $(CC) $(PROJ_LDFLAGS) $(OBJS) -lmach -lscc $(PROJ_LDLIBS) -o $@ 21 cp $@ $(BINDIR)