Refined dep-generation condition

This commit is contained in:
Lior Halphon 2017-10-15 20:26:49 +03:00
parent c7e82b4a47
commit 42712a0280

View File

@ -112,7 +112,7 @@ TESTER_OBJECTS := $(patsubst %,$(OBJ)/%.o,$(TESTER_SOURCES))
# Automatic dependency generation # Automatic dependency generation
ifneq ($(MAKECMDGOALS),clean) ifneq ($(filter-out clean bootroms libretro %.bin, $(MAKECMDGOALS)),)
-include $(CORE_OBJECTS:.o=.dep) -include $(CORE_OBJECTS:.o=.dep)
ifneq ($(filter $(MAKECMDGOALS),sdl),) ifneq ($(filter $(MAKECMDGOALS),sdl),)
-include $(SDL_OBJECTS:.o=.dep) -include $(SDL_OBJECTS:.o=.dep)