]> git.mxchange.org Git - flightgear.git/commitdiff
Only build the Joystick lib if joystick support is available.
authorcurt <curt>
Sun, 25 Oct 1998 10:55:07 +0000 (10:55 +0000)
committercurt <curt>
Sun, 25 Oct 1998 10:55:07 +0000 (10:55 +0000)
Simulator/Makefile.am

index ed862d74577dc48ce214228e34b5dc8065153f2d..fad76f883b7307ee3b10b41caa2c0f7ee40ee9ed 100644 (file)
@@ -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 \