I have a script that generates 2 code files (e.g. src1.c, src2.c) according to another file code (say origin.h).
I am using a makefile to create them.
Now I want the script to be executed when src1.c OR src2.c is older than origin.h.
What is the best way to do this?
Thank.
user360455
source
share