src/mess/mess.mak
| r1377 | r1378 | |
| 7 | 7 | ########################################################################### |
| 8 | 8 | |
| 9 | 9 | |
| 10 | |
| 11 | ########################################################################### |
| 12 | ################# BEGIN USER-CONFIGURABLE OPTIONS ##################### |
| 13 | ########################################################################### |
| 14 | |
| 15 | # uncomment next line to build imgtool |
| 16 | BUILD_IMGTOOL = 1 |
| 17 | |
| 18 | # uncomment next line to build wimgtool |
| 19 | BUILD_WIMGTOOL = 1 |
| 20 | |
| 21 | # uncomment next line to build messtest |
| 22 | BUILD_MESSTEST = 1 |
| 23 | |
| 24 | # uncomment next line to build dat2html |
| 25 | BUILD_DAT2HTML = 1 |
| 26 | |
| 27 | |
| 28 | ########################################################################### |
| 29 | ################## END USER-CONFIGURABLE OPTIONS ###################### |
| 30 | ########################################################################### |
| 31 | |
| 32 | |
| 33 | |
| 10 | 34 | # include MESS core defines |
| 11 | 35 | include $(SRC)/mess/messcore.mak |
| 12 | 36 | |
| r1377 | r1378 | |
| 1139 | 1163 | # MESS-specific tools |
| 1140 | 1164 | #------------------------------------------------- |
| 1141 | 1165 | |
| 1166 | ifdef BUILD_IMGTOOL |
| 1142 | 1167 | include $(MESSSRC)/tools/imgtool/imgtool.mak |
| 1168 | TOOLS += $(IMGTOOL) |
| 1169 | endif |
| 1170 | |
| 1171 | ifdef BUILD_MESSTEST |
| 1143 | 1172 | include $(MESSSRC)/tools/messtest/messtest.mak |
| 1173 | TOOLS += $(MESSTEST) |
| 1174 | endif |
| 1175 | |
| 1176 | ifdef BUILD_DAT2HTML |
| 1144 | 1177 | include $(MESSSRC)/tools/dat2html/dat2html.mak |
| 1178 | TOOLS += $(DAT2HTML) |
| 1179 | endif |
| 1145 | 1180 | |
| 1146 | 1181 | # include OS-specific MESS stuff |
| 1147 | 1182 | ifeq ($(OSD),windows) |
| 1148 | 1183 | include $(MESSSRC)/tools/messdocs/messdocs.mak |
| 1184 | |
| 1185 | ifdef BUILD_WIMGTOOL |
| 1149 | 1186 | include $(MESSSRC)/tools/imgtool/windows/wimgtool.mak |
| 1150 | | endif |
| 1151 | | |
| 1152 | | # tool targets |
| 1153 | | TOOLS += $(DAT2HTML) $(MESSTEST) $(IMGTOOL) |
| 1154 | | |
| 1155 | | # build additional tools if we are on building for Windows |
| 1156 | | ifeq ($(OSD),windows) |
| 1157 | 1187 | TOOLS += $(WIMGTOOL) |
| 1158 | 1188 | endif |
| 1189 | endif |
| 1159 | 1190 | |
| 1160 | 1191 | |
| 1161 | 1192 | |
| r1377 | r1378 | |
| 1164 | 1195 | #------------------------------------------------- |
| 1165 | 1196 | |
| 1166 | 1197 | include $(SRC)/mess/osd/$(OSD)/$(OSD).mak |
| 1167 | | |
| 1168 | | |
| 1169 | | |
| 1170 | | #------------------------------------------------- |
| 1171 | | # MESS text files |
| 1172 | | #------------------------------------------------- |
| 1173 | | |
| 1174 | | # rule to build the list of supported systems |
| 1175 | | mess.txt: $(EMULATORCLI) |
| 1176 | | @echo Generating $@... |
| 1177 | | @$(CURPATH)$(EMULATORCLI) -listtext -noclones -sortname > docs/mess.txt |