diff options
Diffstat (limited to 'utils/tcctool/Makefile')
| -rw-r--r-- | utils/tcctool/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/tcctool/Makefile b/utils/tcctool/Makefile index 4e1ec47..7258f2f 100644 --- a/utils/tcctool/Makefile +++ b/utils/tcctool/Makefile @@ -1,7 +1,11 @@ # This contains the file to upload ROMFILE=player.rom -CFLAGS=-Wall -W -I/usr/local/include +ifndef VERSION +VERSION=$(shell ../../tools/version.sh) +endif + +CFLAGS=-Wall -W -I/usr/local/include -DVERSION=\"$(VERSION)\" ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) OUTPUT=tcctool.exe |