mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 12:51:04 +00:00
20 lines
333 B
Text
20 lines
333 B
Text
|
CC = i486-mingw32-gcc
|
||
|
CFLAGS += -Wall
|
||
|
OBJ = main.o \
|
||
|
lex.o \
|
||
|
error.o \
|
||
|
parse.o \
|
||
|
typedef.o \
|
||
|
util.o \
|
||
|
code.o \
|
||
|
asm.c
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) -c $< -o $@ $(CFLAGS)
|
||
|
|
||
|
gmqcc: $(OBJ)
|
||
|
$(CC) -o $@ $^ $(CFLAGS)
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o gmqcc
|