shithub: scc

ref: 6af5d14fad953416477587c3e0271c847f24e370
dir: /src/cmd/Makefile/

View raw version
.POSIX:

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

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

LIBS   = -lmach

all: $(TARGET)

nm strip: $(LIBDIR)/libmach.a

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

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

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

clean:
	rm -f nm strip size

dep: inc-dep

include deps.mk