move abi code in a new file

This commit is contained in:
Quentin Carbonneaux 2016-03-31 17:17:09 -04:00
parent 729aa97b79
commit 0a81036fa2
7 changed files with 561 additions and 554 deletions

View file

@ -1,9 +1,10 @@
BIN = qbe
ABI = sysv
V = @
OBJDIR = obj
SRC = main.c util.c parse.c mem.c ssa.c copy.c live.c isel.c spill.c rega.c emit.c
SRC = main.c util.c parse.c mem.c ssa.c copy.c live.c isel.c spill.c rega.c emit.c $(ABI).c
OBJ = $(SRC:%.c=$(OBJDIR)/%.o)
CFLAGS += -Wall -Wextra -std=c99 -g -pedantic