summaryrefslogtreecommitdiff
path: root/utils/tcctool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/tcctool/Makefile')
-rw-r--r--utils/tcctool/Makefile6
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
2ROMFILE=player.rom 2ROMFILE=player.rom
3 3
4CFLAGS=-Wall -W -I/usr/local/include 4ifndef VERSION
5VERSION=$(shell ../../tools/version.sh)
6endif
7
8CFLAGS=-Wall -W -I/usr/local/include -DVERSION=\"$(VERSION)\"
5 9
6ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) 10ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
7OUTPUT=tcctool.exe 11OUTPUT=tcctool.exe