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 4e1ec476ab..7258f2f8cd 100644 --- a/utils/tcctool/Makefile +++ b/utils/tcctool/Makefile | |||
@@ -1,7 +1,11 @@ | |||
1 | # This contains the file to upload | 1 | # This contains the file to upload |
2 | ROMFILE=player.rom | 2 | ROMFILE=player.rom |
3 | 3 | ||
4 | CFLAGS=-Wall -W -I/usr/local/include | 4 | ifndef VERSION |
5 | VERSION=$(shell ../../tools/version.sh) | ||
6 | endif | ||
7 | |||
8 | CFLAGS=-Wall -W -I/usr/local/include -DVERSION=\"$(VERSION)\" | ||
5 | 9 | ||
6 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) | 10 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) |
7 | OUTPUT=tcctool.exe | 11 | OUTPUT=tcctool.exe |