fix dep generation for resources.c file