View Single Post
Old 27 February 2022, 01:09   #3
Sim085
Registered User
 
Join Date: Apr 2009
Location: N/A
Posts: 962
Good to know the script should be good.



I am using FS-UAE on Mac. Will try the same script on WinUAE when I have access to my Windows machine.



Quote:
Originally Posted by thomas View Post
The first example works perfectly for me. App is rebuilt whenever I change main.c.

Make sure the system clock is running properly. If a new .o file is older than the existing App file, it will not be relinked. This often happens if the source directory is on a NAS server (connected via SMBFS) and the time zone is not set up correctly. Or if the system clock is running too fast and after a reboot time has been set back. Or if there is no RTC and after a reboot the clock has been set back to a very old date.

Also make sure that all file names are written with proper case as given in the makefile. Names in makefiles are case sensitive.

Finally make sure that dependencies are specified correctly. For example a mistake I often make is

main.c: something.h

instead of

main.o: something.h
Sim085 is offline  
 
Page generated in 0.04724 seconds with 11 queries