summaryrefslogtreecommitdiffstatshomepage
path: root/src/ume
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-08-23 12:56:20 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-08-23 12:56:20 +0000
commitfc915eb2ffb5eb68c6ce53fc9d0db32f5e30dd35 (patch)
tree69b8550cb6fd3d23f50a19dc31536d8c23e3a9f7 /src/ume
parent6e6eea1bc99ad02a16649f2ad4a58a36aaf62d9d (diff)
Made "make depend" to create files per target, also added "make depend_ume" as new target in case ume is used, since then it becomes complicated (no whatsnew)
Diffstat (limited to 'src/ume')
-rw-r--r--src/ume/ume.mak7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ume/ume.mak b/src/ume/ume.mak
index df3fbbb147b..46a8b6a1606 100644
--- a/src/ume/ume.mak
+++ b/src/ume/ume.mak
@@ -20,3 +20,10 @@ $(DRIVLISTSRC): $(SRC)/mame/mame.lst $(SRC)/mess/mess.lst
include $(SRC)/mame/mame.mak
include $(SRC)/mess/mess.mak
+
+depend_ume: maketree $(MAKEDEP_TARGET)
+ @echo Rebuilding depend.mak...
+ $(MAKEDEP) -I. $(INCPATH) -X$(SRC)/emu -X$(SRC)/osd/... -X$(OBJ)/... src/mame > depend_mame.mak
+ $(MAKEDEP) -I. $(INCPATH) -X$(SRC)/emu -X$(SRC)/osd/... -X$(OBJ)/... src/mess > depend_mess.mak
+ @echo -include depend_mame.mak > depend_ume.mak
+ @echo -include depend_mess.mak >> depend_ume.mak