]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
use CC ?= because clang crashes on me
authorWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 25 Apr 2012 14:20:38 +0000 (16:20 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 25 Apr 2012 15:27:48 +0000 (17:27 +0200)
Makefile

index f55f7052b7c83205bf87171fc08c7b8e21acaaf5..2523742b35a8e1fa190c2808b36ce9291d0a6beb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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)