]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Some perliminary code gen code (just writes a header)
[xonotic/gmqcc.git] / Makefile
index 500245268f5133760fa04355c258ab4a089c68cf..051ea18d088784fdf3a506082e36d3ed1a1e49de 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,15 @@
 CC     = gcc
 CFLAGS = -O3 -Wall
-OBJ    = main.o lex.o error.o parse.o typedef.o
+OBJ    = main.o    \
+         lex.o     \
+         error.o   \
+         parse.o   \
+         typedef.o \
+         util.o    \
+         code.o
 
 %.o: %.c
-       $(CC) -c -o $@ $< $(CFLAGS)
+       $(CC) -c $< -o $@ $(CFLAGS)
 
 gmqcc: $(OBJ)
        $(CC) -o $@ $^ $(CFLAGS)