mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
18 lines
280 B
Makefile
18 lines
280 B
Makefile
CC = gcc
|
|
CFLAGS = -O3 -Wall
|
|
OBJ = main.o \
|
|
lex.o \
|
|
error.o \
|
|
parse.o \
|
|
typedef.o \
|
|
util.o \
|
|
code.o
|
|
|
|
%.o: %.c
|
|
$(CC) -c $< -o $@ $(CFLAGS)
|
|
|
|
gmqcc: $(OBJ)
|
|
$(CC) -o $@ $^ $(CFLAGS)
|
|
|
|
clean:
|
|
rm -f *.o gmqcc
|