I added a C source file common/source/lcd.c and its header common/include/lcd.h to my source tree.
In the project directory makefile I added lcd.o to COMMON_DEPS.
When I run make I get the following output:
cc65 --cpu 65C02 -t none -O -I ../common/include -o ../build/common/lcd.s ../common/source/lcd.c
ca65 --cpu 65C02 -o ../build/common/lcd.o -l ../build/common/lcd.lst ../build/../common/source/lcd.s
Fatal error: Cannot open input file '../build/../common/source/lcd.s': No such file or directory
../common/makefile:74: recipe for target '../build/common/lcd.o' failed
It should be looking for build/common/lcd.s (which has just been created by cc65) for the ca65 step.
I added a C source file common/source/lcd.c and its header common/include/lcd.h to my source tree. In the project directory makefile I added lcd.o to COMMON_DEPS. When I run make I get the following output:
It should be looking for build/common/lcd.s (which has just been created by cc65) for the ca65 step.