Forum Discussion
Altera_Forum
Honored Contributor
21 years agotouch file
I have a file that includes the standard __DATE__ and __TIME__ macros and other information, and prints it to the console. I use this as a quick way of checking the build version of my software. I ...
Altera_Forum
Honored Contributor
21 years agoPerfect! Thank you for the solution, it works really well. I used MAKEFILES to avoid modifying any NIOS files. This is the script that works for me:
all: touch_myfile
touch_myfile:
touch -c ../mybuildinfo.c
echo "Touch script running in: " `pwd`
.PHONEY: touch_myfile [-c flag to prevent dumping spurious empty .c files as the make traverses directories; ../ as the make executes in the Release or Debug directory below the source file.] http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif