while parsing the makefile, when a dependency is found create a node for it then add to the dependency to the corresponding rule based on the target
void add_dependency(Rule *head, char *target) {
    Rule *curr = head;
    Dependency *dependency = malloc(sizeof(Dependency));
               
    while (curr != NULL) {
        if (curr->target == target) {
            curr->dependencies = dependency;
        }
        curr = curr->next_rule;
    }
    
    
}