shithub: scc

ref: 272bc8e3488ce5c7220ebf7cc731a04211b6dba4
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