summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/mess.mak
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-07 13:03:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-07 13:03:46 +0000
commit1f77747f86aca9392030389cff0d1390c123b565 (patch)
tree3446b641dc9d3936984cd2794eb2716e323d18af /src/mess/mess.mak
parente381dd8bc9455c3e40285275d4165a2786453e5d (diff)
made make depend to be defined per target to support special cases (no whatsnew)
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