From 58b4e200ec6d314cc0c9256c885d65632972dc5c Mon Sep 17 00:00:00 2001 From: curt Date: Sun, 25 Oct 1998 10:55:07 +0000 Subject: [PATCH] Only build the Joystick lib if joystick support is available. --- Simulator/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 \ -- 2.39.2