]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - Makefile
Cleanups
[xonotic/gmqcc.git] / Makefile
index ae46f261f8deeca0e96c1f8b0d6a12e956f057d1..da9d0e65b669b0aaa8fc1bfb0ed3456db0acab1b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,17 @@
 CC     = gcc
 CFLAGS = -O3 -Wall
-OBJ    = main.o lex.o error.o parse.o
+OBJ    = main.o    \
+         lex.o     \
+         error.o   \
+         parse.o   \
+         typedef.o \
+         util.o
 
 %.o: %.c
-       $(CC) -c -o $@ $< $(CFLAGS)
+       $(CC) -c $< -o $@ $(CFLAGS)
 
 gmqcc: $(OBJ)
        $(CC) -o $@ $^ $(CFLAGS)
        
 clean:
-       rm -f *.o dpqcc
+       rm -f *.o gmqcc