ref: 352fd1411b9c35e90d824162229a6eb32dd9a7e2
dir: /src/cmd/cc/cc2/Makefile/
.POSIX: PROJECTDIR = ../../../.. include $(PROJECTDIR)/scripts/rules.mk MORE_CFLAGS = -I$(INCDIR)/$(STD) OBJS =\ main.o\ parser.o\ peep.o\ symbol.o\ node.o\ code.o\ optm.o\ TARGET =\ $(LIBEXEC)/scc/cc2-amd64-sysv\ $(LIBEXEC)/scc/cc2-i386-sysv\ $(LIBEXEC)/scc/cc2-qbe_amd64-sysv\ $(LIBEXEC)/scc/cc2-qbe_arm64-sysv\ $(LIBEXEC)/scc/cc2-z80-scc\ all: $(TARGET) $(TARGET): error.h error.h: cc2.h rm -f $@;\ trap 'r=$?;rm -f $$$$.h;exit $r' EXIT INT QUIT ;\ awk -f generror.awk cc2.h > $$$$.h && mv $$$$.h $@ clean: rm -f target/*/*.o error.h include target/amd64-sysv/target.mk include target/i386-sysv/target.mk include target/qbe_amd64-sysv/target.mk include target/qbe_arm64-sysv/target.mk include target/z80-scc/target.mk include deps.mk