mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
use pkg-config for gtk cflags
This commit is contained in:
@@ -71,7 +71,8 @@ xml_get.out : lib-pprz.cma xml_get.cmo
|
|||||||
tests : lib-pprz.cma $(TESTS_CMO)
|
tests : lib-pprz.cma $(TESTS_CMO)
|
||||||
$(OCAMLC) $(INCLUDES) -custom -I . -o $@ str.cma unix.cma ivy-ocaml.cma xml-light.cma $^
|
$(OCAMLC) $(INCLUDES) -custom -I . -o $@ str.cma unix.cma ivy-ocaml.cma xml-light.cma $^
|
||||||
|
|
||||||
GTKCFLAGS := -I /usr/lib/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I /usr/include/cairo
|
GTKCFLAGS := `pkg-config --cflags gtk+-2.0`
|
||||||
|
#GTKCFLAGS := -I /usr/lib/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I /usr/include/cairo
|
||||||
# GTKCFLAGS := $(shell gtk-config --cflags)
|
# GTKCFLAGS := $(shell gtk-config --cflags)
|
||||||
|
|
||||||
%.o : %.c
|
%.o : %.c
|
||||||
|
|||||||
Reference in New Issue
Block a user