Browse Source

append instead of clobber CFLAGS

Quentin Carbonneaux 9 years ago
parent
commit
c46e1ba7b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Makefile

+ 1 - 1
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 $@