From 5ece6d5ec0bd4ce652e9fe6aa831fdef949eee32 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 14 Sep 2014 04:52:44 +0200 Subject: [PATCH] Bake in GLUI and Lakka if HAVE_OPENGL is defined and HAVE_RGUI is defined --- Makefile.common | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile.common b/Makefile.common index 485dfbd09f..e7622c58c1 100644 --- a/Makefile.common +++ b/Makefile.common @@ -36,6 +36,16 @@ ifeq ($(REENTRANT_TEST), 1) OBJ += console/test.o endif +# Switches + +# Extra menu drivers if GL supported +ifeq ($(HAVE_OPENGL), 1) +ifeq ($(HAVE_RGUI), 1) +HAVE_GLUI = 1 +HAVE_LAKKA = 1 +endif +endif + # System ifneq ($(findstring BSD,$(OS)),)