From e3e4915c039f61c35ffbe443ff8245d78d859a18 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 1 Jun 2001 21:59:46 +0000 Subject: [PATCH] s/qctest/qwaq/ and update .gitignore --- tools/qwaq/.gitignore | 4 ++++ tools/qwaq/Makefile | 2 +- tools/qwaq/main.c | 6 +++--- tools/qwaq/progs.src | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/tools/qwaq/.gitignore b/tools/qwaq/.gitignore index f4a8d5fec..4ae672384 100644 --- a/tools/qwaq/.gitignore +++ b/tools/qwaq/.gitignore @@ -1,3 +1,5 @@ +*.d +#.dat *.la *.lo .deps @@ -5,3 +7,5 @@ .vimrc Makefile Makefile.in +progdefs.h +qwaq diff --git a/tools/qwaq/Makefile b/tools/qwaq/Makefile index 9c9261b7e..c46261211 100644 --- a/tools/qwaq/Makefile +++ b/tools/qwaq/Makefile @@ -1,4 +1,4 @@ -EXE=qctest +EXE=qwaq MAKEDEPS=$(CC) -MM $(CPPFLAGS) $< | sed -e 's/$*\.o:*/$*\.o $@:/g' > $@ diff --git a/tools/qwaq/main.c b/tools/qwaq/main.c index af4200a3a..1bf75c692 100644 --- a/tools/qwaq/main.c +++ b/tools/qwaq/main.c @@ -31,19 +31,19 @@ main () PR_Init (); BI_Init (&progs); - f = fopen ("qctest.dat", "rb"); + f = fopen ("qwaq.dat", "rb"); if (f) { fseek (f, 0, SEEK_END); len = ftell (f); fseek (f, 0, SEEK_SET); - progs.progs = Hunk_AllocName (len, "qctest.dat"); + progs.progs = Hunk_AllocName (len, "qwaq.dat"); fread (progs.progs, 1, len, f); fclose (f); if (progs.progs) PR_LoadProgs (&progs, 0); } if (!progs.progs) - Sys_Error ("couldn't load %s\n", "qctest.dat"); + Sys_Error ("couldn't load %s\n", "qwaq.dat"); main_func = PR_GetFunctionIndex (&progs, "main"); PR_ExecuteProgram (&progs, main_func); return 0; diff --git a/tools/qwaq/progs.src b/tools/qwaq/progs.src index 5d8a6d897..eb2c0b2da 100644 --- a/tools/qwaq/progs.src +++ b/tools/qwaq/progs.src @@ -1,4 +1,4 @@ -qctest.dat +qwaq.dat defs.qc