]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Adding debug dump functions
[xonotic/gmqcc.git] / Makefile
index 10198d069d5756d56c71f7b50b0847a2e4471088..ae23ba4684aa3b726611b6bf920927d7dd3c250b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CC      = clang
-CFLAGS += -Wall
+CC     ?= clang
+CFLAGS += -Wall -pedantic -std=c99
 OBJ     = main.o      \
           lex.o       \
           error.o     \
@@ -7,7 +7,9 @@ OBJ     = main.o      \
           typedef.o   \
           util.o      \
           code.o      \
-          assembler.c
+          asm.o       \
+          ast.o       \
+          ir.o
 
 %.o: %.c
        $(CC) -c $< -o $@ $(CFLAGS)