Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / src / version.awk
1 BEGIN {
2 print "/*"
3 print " * version.h"
4 print " * control long build version number"
5 print " *"
6 print " * Created automatically with version.awk script"
7 print " *"
8 print " */"
9 print ""
10 print "#ifndef __VERSION_H__"
11 print "#define __VERSION_H__"
12 print ""
13
14 FS="[ \t.]"
15 }
16
17 /Revision/ { printf "#define SDCC_BUILD_NUMBER\t\"%s\"\n", $2 }
18
19 END {
20 print ""
21 print "#ifndef SDCC_BUILD_NUMBER"
22 print "#define SDCC_BUILD_NUMBER        \"0\""
23 print "#endif"
24 print ""
25 print "#endif"
26 }