]> git.xonotic.org Git - xonotic/gmqcc.git/blob - Makefile_win
gitattributes for whitespace
[xonotic/gmqcc.git] / Makefile_win
1 CC      = i486-mingw32-gcc
2 CFLAGS += -Wall
3 OBJ     = main.o      \
4           lex.o       \
5           error.o     \
6           parse.o     \
7           typedef.o   \
8           util.o      \
9           code.o      \
10           asm.o       \
11           ast.o       \
12           ir.o
13
14 %.o: %.c
15         $(CC) -c $< -o $@ $(CFLAGS)
16
17 gmqcc: $(OBJ)
18         $(CC) -o $@ $^ $(CFLAGS)
19         
20 clean:
21         rm -f *.o gmqcc