ref: e389dc2387eb8f243a3361263f5ac1d85e95b7ec
dir: /as/Makefile/
.POSIX: LIBDIR = ../lib/scc include ../config.mk include $(LIBDIR)/libdep.mk OBJ = main.o emit.o ins.o HDR = ../inc/scc.h as.h all: $(OBJ): $(HDR) ins.o: ins.h as: $(OBJ) $(CC) $(SCC_LDFLAGS) $(OBJ) -lscc -o $@ $(LIBDIR)/libscc.a: cd $(LIBDIR) && $(MAKE) dep: ./gendep.sh $(TARGETS) clean: rm -f *.o rm -f target/*/*.o rm -f target/*/instbl.c rm -f as-* distclean: clean rm -f makefile