]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
type parsing for constants, globals and locals. Sanatize constants to select interna...
[xonotic/gmqcc.git] / Makefile
index 98f79a1d008b8372b9b51f02ef85dbd719066423..f55f7052b7c83205bf87171fc08c7b8e21acaaf5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,19 @@
-CC     = gcc
-CFLAGS = -O3 -Wall
-OBJ    = main.o lex.o error.o parse.o cpp.o
+CC      = clang
+CFLAGS += -Wall
+OBJ     = main.o      \
+          lex.o       \
+          error.o     \
+          parse.o     \
+          typedef.o   \
+          util.o      \
+          code.o      \
+          asm.c
 
 %.o: %.c
-       $(CC) -c -o $@ $< $(CFLAGS)
+       $(CC) -c $< -o $@ $(CFLAGS)
 
 gmqcc: $(OBJ)
        $(CC) -o $@ $^ $(CFLAGS)
        
 clean:
-       rm -f *.o dpqcc
+       rm -f *.o gmqcc