mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +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)
|
||||
$(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)
|
||||
|
||||
%.o : %.c
|
||||
|
||||
Reference in New Issue
Block a user