]> git.xonotic.org Git - xonotic/gmqcc.git/blob - Makefile
Implemented typedefs
[xonotic/gmqcc.git] / Makefile
1 CC     = gcc
2 CFLAGS = -O3 -Wall
3 OBJ    = main.o lex.o error.o parse.o cpp.o typedef.o
4
5 %.o: %.c
6         $(CC) -c -o $@ $< $(CFLAGS)
7
8 gmqcc: $(OBJ)
9         $(CC) -o $@ $^ $(CFLAGS)
10         
11 clean:
12         rm -f *.o gmqcc