From: Dale Weiler Date: Wed, 14 Jan 2015 01:29:46 +0000 (-0500) Subject: Include dependencies in the makefile X-Git-Tag: xonotic-v0.8.2~71 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=1ad849d9391c55c85bb51b6a07237aa2185123af Include dependencies in the makefile --- diff --git a/Makefile b/Makefile index 268e2b4..855dd4b 100644 --- a/Makefile +++ b/Makefile @@ -32,3 +32,5 @@ clean: rm -f *.d rm -f $(COBJS) $(CDEPS) $(CBIN) rm -f $(TOBJS) $(TDEPS) $(TBIN) + +-include *.d diff --git a/util.c b/util.c index 4adcb4a..c2ab21a 100644 --- a/util.c +++ b/util.c @@ -519,7 +519,7 @@ static const uint16_t util_crc16_table[8][256] = {{ /* Non - Reflected */ uint16_t util_crc16(uint16_t current, const char *GMQCC_RESTRICT k, size_t len) { - register uint16_t h = current; + uint16_t h = current; /* don't load twice */ const uint8_t *GMQCC_RESTRICT data = (const uint8_t *GMQCC_RESTRICT)k;