use ocamlfind to find include path for xml-light and labgtk2 in in joystick makefile

This commit is contained in:
lamestllama
2011-01-18 00:59:13 +10:30
parent e4dbc49c5b
commit a35eec17c9
+1 -1
View File
@@ -26,7 +26,7 @@ Q=@
OCAMLC = ocamlc
OCAMLLIB = ../../lib/ocaml
TOOLSDIR = ../../tools
OCAMLINCLUDES= -I $(OCAMLLIB) -I +lablgtk2 -I +xml-light -I $(TOOLSDIR)
OCAMLINCLUDES= -I $(OCAMLLIB) $(shell ocamlfind query -r -i-format lablgtk2) $(shell ocamlfind query -r -i-format xml-light) -I $(TOOLSDIR)
LIBPPRZCMA=$(OCAMLLIB)/lib-pprz.cma
all: test_stick input2ivy