summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-31 17:17:09 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-31 17:17:09 -0400
commit0a81036fa2dfeb44befad86f0bf3e48b2f4ffed9 (patch)
treeb1078a98f83abe0bfb106b81fcdab7fa2ab75b91 /Makefile
parent729aa97b799f72afdec3604f96526760701f36bc (diff)
downloadroux-0a81036fa2dfeb44befad86f0bf3e48b2f4ffed9.tar.gz
move abi code in a new file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 447954b..f6497bd 100644
--- a/Makefile
+++ b/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