ref: 8370fd16f8e62614b67941b32e2cd0e00fcc6e02
dir: /ld/Makefile/
.POSIX: PROJECTDIR = .. LIBDIR = $(PROJECTDIR)/lib/scc include $(PROJECTDIR)/rules.mk include $(LIBDIR)/libdep.mk OBJ = main.o all: ld mkdir -p $(PROJECTDIR) cp ld $(PROJECTDIR)/rootdir/bin ld: $(OBJ) $(CC) $(SCC_LDFLAGS) $(OBJ) -lscc -o $@ $(LIBDIR)/libscc.a: $(LIB-OBJ) +cd $(LIBDIR) && $(MAKE) dep: $(PROJECTDIR)/mkdep.sh clean: rm -f ld *.o distclean: clean #deps