I would like to call flex to build a .l file, then call gcc to build everything.
I tryed:
comp: lex scanner.l \\ gcc -o a.out main.c hash.c -I.
Remove the backslash, or add a semicolon (;) before it. As it is now, the two commands are added together on one line, and executed as one long command.
;