From: curt Date: Sun, 25 Oct 1998 10:55:07 +0000 (+0000) Subject: Only build the Joystick lib if joystick support is available. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=58b4e200ec6d314cc0c9256c885d65632972dc5c;p=flightgear.git Only build the Joystick lib if joystick support is available. --- diff --git a/Simulator/Makefile.am b/Simulator/Makefile.am index ed862d745..fad76f883 100644 --- a/Simulator/Makefile.am +++ b/Simulator/Makefile.am @@ -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 \