Makefile (276B)
1 .POSIX: 2 3 PROJECTDIR = ../../.. 4 include $(PROJECTDIR)/scripts/rules.mk 5 6 OBJS =\ 7 main.o\ 8 coff32.o\ 9 10 TARGET = scc-objdump 11 MORE_LDLIBS = -lmach -lscc 12 13 all: $(TARGET) 14 15 scc-objdump: $(OBJS) $(LIBMACH) $(LIBSCC) 16 $(CC) $(PROJ_LDFLAGS) $(OBJS) $(PROJ_LDLIBS) -o $@ 17 cp $@ $(BINDIR)