aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-03-27 15:24:55 -0400
committerQuentin Carbonneaux <[email protected]>2016-03-27 15:24:55 -0400
commitc46e1ba7b564ecdced28889258051e35b5df228f (patch)
treeb38d2da0a00211b957f871f0c166fdfb6b0f36dd
parent6405a0742f7cd31aa801c660c48c9cc6d7ca23df (diff)
append instead of clobber CFLAGS
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 1c0c4c7..e1c5c4a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,7 @@
BIN = qbe
OBJ = main.o util.o parse.o mem.o ssa.o copy.o live.o isel.o spill.o rega.o emit.o
-CFLAGS = -Wall -Wextra -std=c99 -g -pedantic
+CFLAGS += -Wall -Wextra -std=c99 -g -pedantic
$(BIN): $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) -o $@