.PHONY: all CC=/bin/cc CARGS=-Wall -Werror -Wextra -pedantic -std=c99 SANITY=-Wno-unused-parameter -Wno-unused-variable CDBG=-g CIO=proto.c -o bin/out.amd64.multi.bin # optimization is likely to produce confusing output as we are targeting readable MIPS ASM COPT=-O0 # HARDCODED_OPERANDS is a boolean, MS (matrix size) is the square size of our matrices CDEFS=-D HARDCODED_OPERANDS=1 -D MS=3 all: $(CC) $(CARGS) $(SANITY) $(CDEFS) $(CIO) $(COPT) debug: $(CC) $(CARGS) $(SANITY) $(CDEFS) $(CIO) $(COPT) $(CDBG) -D DEBUG=1