shithub: scc

ref: 5b7017f04867f0666222a6466ac016ab395fe128
dir: /src/cmd/Makefile/

View raw version
.POSIX:

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

TARGET = $(BINDIR)/nm \
         $(BINDIR)/strip \

LIBS   = -lmach

all: $(TARGET)

nm strip: $(LIBDIR)/libmach.a

$(BINDIR)/nm: nm
	cp nm $@

$(BINDIR)/strip: strip
	cp strip $@

clean:
	rm -f nm strip

dep: inc-dep

include deps.mk