I am working my way through Smiley Book and am now trying to make the programme PC_Comm.
I made the changes to the make file and saved it into the directory with the PC_Comm files. The changes are as follows:
# Target file name (without extension).
TARGET = PC_Comm
# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c
SRC += CommDemo.c
When I do a make All I get the following error:
make.exe: *** No rule to make target `CommDemo.o', needed by `PC_Comm.elf'. Stop.
> Process Exit Code: 2
Make files confuse me completely and I have no idea where to go from here. I have tried the usual, looking for spelling and typos, but can not see any.
I tried doing a make from the command line and get the same error. I'm confused. :?
Thanks for the help