shithub: scc

ref: b7e9430d7f6df2b479baba4470474d130039e8c6
dir: /src/nm/Makefile/

View raw version
.POSIX:

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

OBJS  = main.o \
        coff32.o \
        formats.o \

TARGET = $(BINDIR)/nm

all: $(TARGET)

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

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

dep: inc-dep

include deps.mk