move abi code in a new file
This commit is contained in:
parent
729aa97b79
commit
0a81036fa2
7 changed files with 561 additions and 554 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue