shithub: scc

ref: 279bf67dfc38f55a3c9f4529799686608bd28bb4
dir: /src/libmach/Makefile/

View raw version
.POSIX:
PROJECTDIR =../..
include $(PROJECTDIR)/scripts/rules.mk

TARGET = $(LIBDIR)/libmach.a

OBJS = mach.o \
       newobj.o \
       delobj.o \
       objpos.o \
       archive.o \
       armember.o \
       objtype.o \
       readobj.o \
       getsym.o \
       pack.o \
       unpack.o \

DIRS = coff32


all: $(OBJS) $(DIRS) objlst.mk
	+@$(MAKE) -f Makefile.mach

$(DIRS): FORCE
	+@cd $@ && $(MAKE)

objlst.mk: $(OBJS) $(DIRS)
	mklst $@

dep: inc-dep
	$(FORALL)

clean:
	$(FORALL)
	rm -f $(TBLS) objlst.mk


include deps.mk