quakeforge/tools/qwaq/Makefile
Bill Currie c60dc54697 Makefile:
update qfcc options
main.qc:
	go back to the original intent :)
2001-11-02 03:03:01 +00:00

29 lines
490 B
Makefile

EXE=qwaq
MAKEDEPS=$(CC) -MM $(CPPFLAGS) $< | sed -e 's/$*\.o:*/$*\.o $@:/g' > $@
CFLAGS+=-Wall -Werror -g -O2
CPPFLAGS+=
LIBS=
vpath %.a
SRC=main.c builtins.c
%.d: %.c
$(MAKEDEPS)
OBJ=$(patsubst %,%.o,$(basename $(SRC)))
DEP=$(patsubst %.o,%.d,$(OBJ))
all: $(EXE) $(EXE).dat
$(EXE): $(OBJ) $(LIBS)
$(CC) $(LDFLAGS) -o $@ $^ -lQFgamecode -lQFutil
$(EXE).dat: progs.src *.qc
qfcc --warn=error --code=debug
clean:
rm -f $(EXE) *.o *.d core *.dat *.sym progdefs.h
-include $(DEP)