mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
prototypes seem ok now and fix dependecy tracking for newer cpp
This commit is contained in:
parent
d97a584c4f
commit
8842d12f5f
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue