mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
12 lines
182 B
Makefile
12 lines
182 B
Makefile
CC = gcc
|
|
CFLAGS = -O3 -Wall
|
|
OBJ = main.o lex.o error.o parse.o cpp.o
|
|
|
|
%.o: %.c
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
gmqcc: $(OBJ)
|
|
$(CC) -o $@ $^ $(CFLAGS)
|
|
|
|
clean:
|
|
rm -f *.o dpqcc
|