summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/mess.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/mess.mak')
-rw-r--r--src/mess/mess.mak7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mess/mess.mak b/src/mess/mess.mak
index 6283d87dad4..65e04bb3c30 100644
--- a/src/mess/mess.mak
+++ b/src/mess/mess.mak
@@ -6,6 +6,13 @@
#
###########################################################################
+ifeq ($(TARGET),mess)
+# In order to keep dependencies reasonable, we exclude objects in the base of
+# $(SRC)/emu, as well as all the OSD objects and anything in the $(OBJ) tree
+depend: maketree $(MAKEDEP_TARGET)
+ @echo Rebuilding depend_$(TARGET).mak...
+ $(MAKEDEP) -I. $(INCPATH) -X$(SRC)/emu -X$(SRC)/osd/... -X$(OBJ)/... src/$(TARGET) > depend_$(TARGET).mak
+endif
# include MESS core defines
include $(SRC)/mess/messcore.mak