desktop: added SKETCH as a define

useful for automatically handling copter vs plane
This commit is contained in:
Andrew Tridgell 2011-11-18 09:39:28 +11:00 committed by Pat Hickey
parent 2bed1dcfd5
commit 0ef727d707
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ endif
#
# Tool options
#
DEFINES = $(EXTRAFLAGS)
DEFINES = $(EXTRAFLAGS) -DSKETCH=\"$(SKETCH)\"
OPTFLAGS = -g -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wformat=2 -Wno-reorder
DEPFLAGS = -MD -MT $@