summaryrefslogtreecommitdiffstatshomepage
path: root/src/ume/ume.mak
blob: b6a5bcff463deb90b1f4ee635ad26b0d26625749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
###########################################################################
#
#   ume.mak
#
#   Universal target makefile
#
###########################################################################
CFLAGS += \
	-I$(SRC)/ume \
	-I$(SRC)/mame \
	-I$(OBJ)/mame/layout \
	-I$(SRC)/mess \
	-I$(OBJ)/mess/layout \
	-I$(SRC)/mess/osd \
	-I$(SRC)/mess/osd/$(OSD)

OBJDIRS += $(OBJ)/ume

$(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_$(TARGET).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