prototypes seem ok now and fix dependecy tracking for newer cpp

This commit is contained in:
Bill Currie 2002-08-15 07:24:56 +00:00
parent d97a584c4f
commit 8842d12f5f
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ game_dep = $(addprefix .deps/,$(addsuffix .d,$(basename $(game_source))))
%.qfo: %.r
@mkdir -p .deps
@$(QFCC) -q -M $(QCPPFLAGS) -c $< | sed -e 's/\.r\.o\>/.qfo/' > .deps/`basename $@ .qfo`.d
@$(QFCC) -q -M $(QCPPFLAGS) -c $< | sed -e 's/\(\.r\)\?\.o\>/.qfo/' > .deps/`basename $@ .qfo`.d
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
%.qfo: %.qc

View File

@ -34,7 +34,7 @@
#define MULTICAST_PHS_R 4
#define MULTICAST_PVS_R 5
@extern void (string s) bprint;
@extern void (...) bprint;
@extern void (float to, float f) WriteByte;
@extern void (float to, float f) WriteChar;
@extern void (float to, float f) WriteShort;

View File

@ -24,7 +24,7 @@ libr_dep = $(addprefix .deps/,$(addsuffix .d,$(basename $(libr_source))))
%.qfo: %.r
@mkdir -p .deps
@$(QFCC) -M -q $(QCPPFLAGS) -c $< | sed -e 's/\.r\.o\>/.qfo/' > .deps/`basename $@ .qfo`.d
@$(QFCC) -M -q $(QCPPFLAGS) -c $< | sed -e 's/\(\.r\)\?\.o\>/.qfo/' > .deps/`basename $@ .qfo`.d
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
%.qfo: %.qc

View File

@ -1,6 +1,6 @@
#include "message.h"
void (string s) bprint = #23;
void (...) bprint = #23;
void (float to, float f) WriteByte = #52;
void (float to, float f) WriteChar = #53;
void (float to, float f) WriteShort = #54;