mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 06:02:22 +00:00
Include dependencies in the makefile
This commit is contained in:
parent
044f8b396d
commit
1ad849d939
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -32,3 +32,5 @@ clean:
|
|||
rm -f *.d
|
||||
rm -f $(COBJS) $(CDEPS) $(CBIN)
|
||||
rm -f $(TOBJS) $(TDEPS) $(TBIN)
|
||||
|
||||
-include *.d
|
||||
|
|
2
util.c
2
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;
|
||||
|
|
Loading…
Reference in a new issue