Include dependencies in the makefile

This commit is contained in:
Dale Weiler 2015-01-13 20:29:46 -05:00
parent 044f8b396d
commit 1ad849d939
2 changed files with 3 additions and 1 deletions

View file

@ -32,3 +32,5 @@ clean:
rm -f *.d
rm -f $(COBJS) $(CDEPS) $(CBIN)
rm -f $(TOBJS) $(TDEPS) $(TBIN)
-include *.d

2
util.c
View file

@ -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;