prototypes seem ok now and fix dependecy tracking for newer cpp
This commit is contained in:
parent
d97a584c4f
commit
8842d12f5f
|
@ -13,7 +13,7 @@ game_dep = $(addprefix .deps/,$(addsuffix .d,$(basename $(game_source))))
|
||||||
|
|
||||||
%.qfo: %.r
|
%.qfo: %.r
|
||||||
@mkdir -p .deps
|
@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 $@ $<
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
%.qfo: %.qc
|
%.qfo: %.qc
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#define MULTICAST_PHS_R 4
|
#define MULTICAST_PHS_R 4
|
||||||
#define MULTICAST_PVS_R 5
|
#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) WriteByte;
|
||||||
@extern void (float to, float f) WriteChar;
|
@extern void (float to, float f) WriteChar;
|
||||||
@extern void (float to, float f) WriteShort;
|
@extern void (float to, float f) WriteShort;
|
||||||
|
|
|
@ -24,7 +24,7 @@ libr_dep = $(addprefix .deps/,$(addsuffix .d,$(basename $(libr_source))))
|
||||||
|
|
||||||
%.qfo: %.r
|
%.qfo: %.r
|
||||||
@mkdir -p .deps
|
@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 $@ $<
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
%.qfo: %.qc
|
%.qfo: %.qc
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "message.h"
|
#include "message.h"
|
||||||
|
|
||||||
void (string s) bprint = #23;
|
void (...) bprint = #23;
|
||||||
void (float to, float f) WriteByte = #52;
|
void (float to, float f) WriteByte = #52;
|
||||||
void (float to, float f) WriteChar = #53;
|
void (float to, float f) WriteChar = #53;
|
||||||
void (float to, float f) WriteShort = #54;
|
void (float to, float f) WriteShort = #54;
|
||||||
|
|
Loading…
Reference in New Issue