retab for gitweb
[cse-arch-proj1.git] / src / Makefile
CommitLineData
429638e7 1.PHONY: all
2
3CC=/bin/cc
4CARGS=-Wall -Werror -Wextra -pedantic -std=c99
5SANITY=-Wno-unused-parameter -Wno-unused-variable
6CDBG=-g
7CIO=proto.c -o bin/out.amd64.multi.bin
8
9# optimization is likely to produce confusing output as we are targeting readable MIPS ASM
10COPT=-O0
11
12# HARDCODED_OPERANDS is a boolean, MS (matrix size) is the square size of our matrices
13CDEFS=-D HARDCODED_OPERANDS=1 -D MS=3
14
15all:
16 $(CC) $(CARGS) $(SANITY) $(CDEFS) $(CIO) $(COPT)
17
18debug:
19 $(CC) $(CARGS) $(SANITY) $(CDEFS) $(CIO) $(COPT) $(CDBG) -D DEBUG=1