]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/Makefile.am
- read all joystick files from $FG_ROOT/Input/Joysticks automatically
[flightgear.git] / src / Input / Makefile.am
index 7ee2ac39f1dabe838488104b6c866f6a3bc36efa..6671e74f09a4b15e5727684a6f003a84a2ee9a9e 100644 (file)
@@ -2,4 +2,14 @@ noinst_LIBRARIES = libInput.a
 
 libInput_a_SOURCES = input.cxx input.hxx
 
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
+bin_PROGRAMS = js_demo fgjs
+
+js_demo_SOURCES = js_demo.cxx
+
+js_demo_LDADD = -lplibjs $(base_LIBS) $(joystick_LIBS) -lplibul
+
+fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
+
+fgjs_LDADD = -lplibjs $(base_LIBS) $(joystick_LIBS) -lplibul
+
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src