Previous 199869 Revisions Next

r17695 Friday 7th September, 2012 at 13:03:46 UTC by Miodrag Milanović
made make depend to be defined per target to support special cases (no whatsnew)
[/trunk]makefile
[src/mame]mame.mak
[src/mess]mess.mak
[src/ume]ume.mak

trunk/src/mame/mame.mak
r17694r17695
99#
1010###########################################################################
1111
12ifeq ($(TARGET),mame)
13# In order to keep dependencies reasonable, we exclude objects in the base of
14# $(SRC)/emu, as well as all the OSD objects and anything in the $(OBJ) tree
15depend: maketree $(MAKEDEP_TARGET)
16   @echo Rebuilding depend_$(TARGET).mak...
17   $(MAKEDEP) -I. $(INCPATH) -X$(SRC)/emu -X$(SRC)/osd/... -X$(OBJ)/... src/$(TARGET) > depend_$(TARGET).mak
18endif
1219
1320MAMESRC = $(SRC)/mame
1421MAMEOBJ = $(OBJ)/mame
trunk/src/ume/ume.mak
r17694r17695
2121include $(SRC)/mame/mame.mak
2222include $(SRC)/mess/mess.mak
2323
24depend_ume: maketree $(MAKEDEP_TARGET)
24depend: maketree $(MAKEDEP_TARGET)
2525   @echo Rebuilding depend_$(TARGET).mak...
2626   $(MAKEDEP) -I. $(INCPATH) -X$(SRC)/emu -X$(SRC)/osd/... -X$(OBJ)/... src/mame > depend_mame.mak
2727   $(MAKEDEP) -I. $(INCPATH) -X$(SRC)/emu -X$(SRC)/osd/... -X$(OBJ)/... src/mess > depend_mess.mak
trunk/src/mess/mess.mak
r17694r17695
66#
77###########################################################################
88
9ifeq ($(TARGET),mess)
10# In order to keep dependencies reasonable, we exclude objects in the base of
11# $(SRC)/emu, as well as all the OSD objects and anything in the $(OBJ) tree
12depend: maketree $(MAKEDEP_TARGET)
13   @echo Rebuilding depend_$(TARGET).mak...
14   $(MAKEDEP) -I. $(INCPATH) -X$(SRC)/emu -X$(SRC)/osd/... -X$(OBJ)/... src/$(TARGET) > depend_$(TARGET).mak
15endif
916
1017# include MESS core defines
1118include $(SRC)/mess/messcore.mak
trunk/makefile
r17694r17695
710710
711711buildtools: maketree $(BUILD)
712712
713# In order to keep dependencies reasonable, we exclude objects in the base of
714# $(SRC)/emu, as well as all the OSD objects and anything in the $(OBJ) tree
715depend: maketree $(MAKEDEP_TARGET)
716   @echo Rebuilding depend_$(TARGET).mak...
717   $(MAKEDEP) -I. $(INCPATH) -X$(SRC)/emu -X$(SRC)/osd/... -X$(OBJ)/... src/$(TARGET) > depend_$(TARGET).mak
718
719713tools: maketree $(TOOLS)
720714
721715maketree: $(sort $(OBJDIRS))

Previous 199869 Revisions Next


© 1997-2024 The MAME Team