how to skip the token if it is a colon : and get the next token
#include <stdio.h>
#include <string.h>

int main () {
    char str[256] = "main : linked_list.o main.o ";
    const char s[2] = " ";
    char *token;
    
    /* get the first token */
    token = strtok(str, s);
    char *target = token;
    printf("the target is %s", target); 
    
    /* walk through other tokens */
    while( token != NULL ) {
        if (strcmp(token, ":") != 0) {
            printf( "Its dependencies are %s\n", token );
        }
        
        token = strtok(NULL, s);
    }
    
    return(0);
}