diff options
| author | 2015-01-06 02:18:38 +0100 | |
|---|---|---|
| committer | 2015-01-06 02:18:38 +0100 | |
| commit | 2c4b7855547e47f9c2be54868ac012d97cb4dd58 (patch) | |
| tree | 000e428fa8cb781a14d8aab23e660fc9c47a0c0e /makefile | |
| parent | 8fefbb296998967a853087cdef59e6ec2558ba15 (diff) | |
Merged winwork and sdlwork into osd/modules/sync/work_osd.c. Moved
miniwork.c to osd/modules/sync/work_mini.c
The makefile now adds either a OSD_SDL, OSD_WINDOWS or OSD_MINI
define to DEFS. This was necessary so that work_osd.c could determine
the build on a OSD level. (nw)
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -491,7 +491,22 @@ ifdef FASTDEBUG DEFS += -DMAME_DEBUG_FAST endif +# add a define identifying the target osd +ifeq ($(OSD),sdl) +DEFS += -DOSD_SDL +else +ifeq ($(OSD),windows) +DEFS += -DOSD_WINDOWS +else +ifeq ($(OSD),osdmini) +DEFS += -DOSD_MINI +else +$(error Unknown OSD) +endif +endif +endif + #------------------------------------------------- # compile flags # CCOMFLAGS are common flags |
