new controls dialog; using gconf instead of hgw
[drnoksnes] / Makefile
index 2b8efa4..e807f91 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,13 +66,19 @@ ifeq ($(CONF_XSP), 1)
 endif
 ifeq ($(CONF_HD), 1)
        CPPFLAGS += -DCONF_HD=1
-       OBJS += platform/sdlvhildon.o
+       LDLIBS += -lSDL_haa
+       CONF_EXIT_BUTTON ?= 1
 endif
 ifeq ($(CONF_HGW), 1)
-       CPPFLAGS += -DCONF_HGW=1 -I/usr/include/hgw
-       LDLIBS += -lhgw
+       CPPFLAGS += -DCONF_HGW=1 -I/usr/include/hgw $(shell pkg-config --cflags gconf-2.0)
+       LDLIBS += -lhgw $(shell pkg-config --libs gconf-2.0)
        OBJS += platform/hgw.o
 endif
+ifeq ($(CONF_EXIT_BUTTON), 1)
+       CPPFLAGS += -DCONF_EXIT_BUTTON=1
+       LDLIBS += -lSDL_image
+       OBJS += platform/sdlvexit.o
+endif
 
 # automatic dependencies
 DEPS := $(OBJS:.o=.d)