mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 19:16:35 +01:00
Add ability to compile without game support
This commit is contained in:
@@ -19,6 +19,13 @@ ifneq ($(AUDIO), disabled)
|
||||
ifneq ($(VIDEO), disabled)
|
||||
-include $(CHECKS_DIR)/video.mk
|
||||
endif
|
||||
|
||||
#check if we want to build with game support
|
||||
GAMES := $(shell if [ -z "$(DISABLE_GAMES)" ] || [ "$(DISABLE_GAMES)" = "0" ] ; then echo enabled ; else echo disabled ; fi)
|
||||
ifneq ($(GAMES), disabled)
|
||||
-include $(CHECKS_DIR)/games.mk
|
||||
endif
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user