Rule *parse_file(FILE *fp) {
    // Implement this function and remove the stubbed return statement below.
    fp = fopen("handout.mk", "r");
    char *token;
    
    char line[MAXLINE];
    while (fgets(line, MAXLINE, fp) != NULL) {
        if (is_comment_or_empty(line) == 0 && line[0] != '\n') {
            token = strtok(line, " ");
            

        }
    }
    
    
    
    
    return NULL;
}

void create_rule(char *target, Rule *head) {
    Rule *new_rule = malloc(sizeof(Rule));
    Rule *curr;
    strcpy(new_rule->target, target);
    new_rule->dependencies = NULL;
    new_rule->actions = NULL;
    new_rule->next_rule = NULL;

    if (head == NULL) {
        head = new_rule;
    } else {
        curr = head;
        while (curr->next_rule != NULL) {
            curr = curr->next_rule;
        }
        curr->next_rule = new_rule;
    }
}
Parse the makefile and create a rule with the target name