I'm having trouble running the makefile.
main: ex09.o funcao1.o
gcc -c ex09.o funcao1.o -o main
ex09.o: ex09.c
gcc -c ex09.c
funcao1.o: funcao1.c funcao1.h
gcc -c funcao1.c
clean:
rm *.o
One of the linker errors that is generated
gcc -c ex09.o funcao1.o -o main
gcc: warning: ex09.o: linker input file unused because linking not done
gcc: warning: funcao1.o: linker input file unused because linking not done