use CC ?= because clang crashes on me

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-04-25 16:20:38 +02:00
parent 522738de48
commit ef024e5b80

View file

@ -1,4 +1,4 @@
CC = clang
CC ?= clang
CFLAGS += -Wall
OBJ = main.o \
lex.o \
@ -7,7 +7,9 @@ OBJ = main.o \
typedef.o \
util.o \
code.o \
asm.c
asm.c \
ast.c \
ir.c
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)