Previous 15994 Revisions Next

r1418 Tuesday 18th December, 2007 at 13:29:50 UTC by Dirk Best
Sync makefiles with MAME. The only difference between 'makefile' and 'makefile.mes' is now the default TARGET. Use 'make TARGET=mess' to build MESS.
[ROOT]makefile.mes
[src/mess]messcore.mak
[src/mess/tools/messdocs]messdocs.mak

makefile.mes
r1417r1418
105105# uncomment next line to use DRC PowerPC engine
106106X86_PPC_DRC = 1
107107
108# uncomment next line to use DRC Voodoo rasterizers
109# X86_VOODOO_DRC = 1
110108
111109
112
113110#-------------------------------------------------
114111# specify build options; see each option below
115112# for details
r1417r1418
191188AR = @ar
192189CC = @gcc
193190LD = @gcc
194HHC = @-hhc
195191MD = -mkdir$(EXE)
196192RM = @rm -f
197193
r1417r1418
273269DEFS += -DMAME_PROFILER
274270endif
275271
276# define VOODOO_DRC if we are building the DRC Voodoo engine
277ifdef X86_VOODOO_DRC
278DEFS += -DVOODOO_DRC
279endif
280272
281273
282
283274#-------------------------------------------------
284275# compile flags
285276#-------------------------------------------------
r1417r1418
403394LIBSOUND = $(OBJ)/libsound.a
404395LIBUTIL = $(OBJ)/libutil.a
405396LIBOCORE = $(OBJ)/libocore.a
406LIBOCORE_NOMAIN = $(OBJ)/libocore_nomain.a
407397LIBOSD = $(OBJ)/libosd.a
408398
409399VERSIONOBJ = $(OBJ)/version.o
r1417r1418
476466
477467tools: maketree $(TOOLS)
478468
479help: maketree $(HELP)
480
481469maketree: $(sort $(OBJDIRS))
482470
483471clean:
src/mess/messcore.mak
r1417r1418
6969# MESS core objects
7070#-------------------------------------------------
7171
72LIBOCORE_NOMAIN = $(OBJ)/libocore_nomain.a
73
7274EMUOBJS += \
7375   $(MESSOBJ)/mess.o      \
7476   $(MESSOBJ)/messopts.o   \
src/mess/tools/messdocs/messdocs.mak
r1417r1418
1616
1717# add our stuff to the global variables
1818OBJDIRS += $(MESSOBJ)/tools/messdocs
19HELP += $(MESSHELP)
2019
20# html help compiler
21HHC = @-hhc
2122
2223
24
2325#-------------------------------------------------
2426# messdocs objects
2527#-------------------------------------------------
r1417r1418
4547# rule for building the mess help file
4648#-------------------------------------------------
4749
50help: maketree $(MESSHELP)
51
4852$(MESSHELP): $(OBJ)/build/$(MESSDOCS)
4953   $(subst /,\,$(OBJ)/build/$(MESSDOCS)) docs/wintoc.xml $(HELPOBJ)
5054   $(HHC) $(subst /,\\,$(HELPOBJ))\\mess.hhp

Previous 15994 Revisions Next


© 1998-2018 The MESS Team