Previous 199869 Revisions Next

r34371 Tuesday 13th January, 2015 at 13:48:16 UTC by hap
Merge pull request #102 from einstein95/patch-1

Update segajw year (nw)
[/trunk]makefile
[src/lib]lib.mak
[src/mess/drivers]gamate.c
[src/osd/windows]winprefix.h

trunk/makefile
r242882r242883
509509
510510# CFLAGS is defined based on C or C++ targets
511511# (remember, expansion only happens when used, so doing it here is ok)
512CFLAGS = $(CCOMFLAGS) $(CPPONLYFLAGS)
512CFLAGS = $(CCOMFLAGS) $(CPPONLYFLAGS) $(INCPATH)
513513
514514# we compile C-only to C89 standard with GNU extensions
515515# we compile C++ code to C++98 standard with GNU extensions
r242882r242883
864864include $(SRC)/regtests/regtests.mak
865865
866866# combine the various definitions to one
867CCOMFLAGS += $(INCPATH)
868867CDEFS = $(DEFS)
869868
870869# TODO: -x c++ should not be hard-coded
r242882r242883
10201019ifeq ($(TARGETOS),macosx)
10211020$(OBJ)/%.o: $(SRC)/%.m | $(OSPREBUILD)
10221021   @echo Objective-C compiling $<...
1023   $(CC) $(CDEFS) $(COBJFLAGS) $(CCOMFLAGS) -c $< -o $@
1022   $(CC) $(CDEFS) $(COBJFLAGS) $(CCOMFLAGS) $(INCPATH) -c $< -o $@
10241023endif
10251024
10261025
trunk/src/lib/lib.mak
r242882r242883
480480
481481$(LIBOBJ)/portmidi/%.o: $(3RDPARTY)/portmidi/%.c | $(OSPREBUILD)
482482   @echo Compiling $<...
483   $(CC) $(CDEFS) $(PMOPTS) $(CCOMFLAGS) $(CONLYFLAGS) -I$(3RDPARTY)/portmidi/pm_common -I$(3RDPARTY)/portmidi/porttime -c $< -o $@
483   $(CC) $(CDEFS) $(PMOPTS) $(CCOMFLAGS) $(CONLYFLAGS) $(INCPATH) -I$(3RDPARTY)/portmidi/pm_common -I$(3RDPARTY)/portmidi/porttime -c $< -o $@
484484
485485ifeq ($(TARGETOS),macosx)
486486$(LIBOBJ)/portmidi/%.o: $(3RDPARTY)/portmidi/%.m | $(OSPREBUILD)
487487   @echo Objective-C compiling $<...
488   $(CC) $(CDEFS) $(COBJFLAGS) $(CCOMFLAGS) -c $< -o $@
488   $(CC) $(CDEFS) $(COBJFLAGS) $(CCOMFLAGS) $(INCPATH) -c $< -o $@
489489endif
490490
491491#-------------------------------------------------
r242882r242883
544544
545545$(LIBOBJ)/lua/lsqlite3/%.o: $(3RDPARTY)/lsqlite3/%.c | $(OSPREBUILD)
546546   @echo Compiling $<...
547   $(CC) $(CDEFS) $(CCOMFLAGS) $(CONLYFLAGS) -DLUA_COMPAT_ALL $(LUA_FLAGS) -c $< -o $@
547   $(CC) $(CDEFS) $(CCOMFLAGS) $(CONLYFLAGS) -DLUA_COMPAT_ALL -I$(3RDPARTY)/lua/src -I$(3RDPARTY) $(LUA_FLAGS) -c $< -o $@
548548
549549#-------------------------------------------------
550550# web library objects
trunk/src/mess/drivers/gamate.c
r242882r242883
267267GFXDECODE_END
268268#endif
269269
270static const unsigned short gamate_palette[4] =
271{
272   0,1,2,3
273};
274
275
276270/* palette in red, green, blue tribles */
277271static const unsigned char gamate_colors[4][3] =
278272{
trunk/src/osd/windows/winprefix.h
r242882r242883
66//
77//============================================================
88
9#define _WIN32_WINNT 0x0501
9#ifdef PTR64
10#define _WIN32_WINNT 0x0601 // Windows 7
11#else
12#define _WIN32_WINNT 0x0501 // Windows XP
13#endif
1014
1115#ifdef _MSC_VER
1216#include <assert.h>


Previous 199869 Revisions Next


© 1997-2024 The MAME Team