From 02003cf229735e17195de7383aaa8e68970678ae Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 1 Jun 2001 22:05:36 +0000 Subject: [PATCH] build the progs automaticly --- tools/qwaq/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/qwaq/Makefile b/tools/qwaq/Makefile index c46261211..ada75fea9 100644 --- a/tools/qwaq/Makefile +++ b/tools/qwaq/Makefile @@ -15,11 +15,14 @@ SRC=main.c builtins.c OBJ=$(patsubst %,%.o,$(basename $(SRC))) DEP=$(patsubst %.o,%.d,$(OBJ)) -all: $(EXE) +all: $(EXE) $(EXE).dat $(EXE): $(OBJ) $(LIBS) $(CC) $(LDFLAGS) -o $@ $^ -lQFgamecode -lQFutil +$(EXE).dat: progs.src *.qc + qfcc + clean: rm -f $(EXE) *.o *.d core *.dat progdefs.h