Only build the Joystick lib if joystick support is available.
This commit is contained in:
parent
b17f3b1b28
commit
58b4e200ec
1 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
if ENABLE_JOYSTICK_SUPPORT
|
||||
JOYSTICK_DIRS = Joystick
|
||||
else
|
||||
JOYSTICK_DIRS =
|
||||
endif
|
||||
|
||||
SUBDIRS = \
|
||||
Aircraft \
|
||||
Airports \
|
||||
|
@ -7,7 +13,7 @@ SUBDIRS = \
|
|||
Controls \
|
||||
Flight \
|
||||
GUI \
|
||||
Joystick \
|
||||
$(JOYSTICK_DIRS) \
|
||||
Objects \
|
||||
Scenery \
|
||||
Time \
|
||||
|
|
Loading…
Add table
Reference in a new issue