line 14: error: array initializer must be an initializer list or string literal


/* Read from the open file fp, and create the linked data structure
   that represents the Makefile contained in the file.
   See the top of pmake.h for the specification of Makefile contents.
 */
Rule *parse_file(FILE *fp) {
    // setting up to read through the makefile
    char line[MAXLINE];
    const char delim[2] = ' ';  // delimiter for strtok
    char *token;

    int file_line_number = 0;

    Rule first_rule;  // this is the one that is being returned

    while (fgets(line, MAXLINE, fp) != 0) {  // until the end of the file

        // another while loop to check if the first character of the line is alphanumeric
        // if so, that is a new rule,

        // initialize a new rule
        Rule *new_rule;

        char *target = strtok(line, delim);
        strncpy(new_rule->target, target, MAXLINE);
        new_rule->dependencies = NULL;
        new_rule->actions = NULL;
        new_rule->next_rule = NULL;