]> de.git.xonotic.org Git - xonotic/gmqcc.git/blob - Makefile
Some perliminary code gen code (just writes a header)
[xonotic/gmqcc.git] / Makefile
1 CC     = gcc
2 CFLAGS = -O3 -Wall
3 OBJ    = main.o    \
4          lex.o     \
5          error.o   \
6          parse.o   \
7          typedef.o \
8          util.o    \
9          code.o
10
11 %.o: %.c
12         $(CC) -c $< -o $@ $(CFLAGS)
13
14 gmqcc: $(OBJ)
15         $(CC) -o $@ $^ $(CFLAGS)
16         
17 clean:
18         rm -f *.o gmqcc