mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2024-11-23 08:19:42 +00:00
Datmagic (#1024)
This commit is contained in:
parent
097c238fc6
commit
022364577b
@ -1,9 +1,29 @@
|
||||
TARGET := datmagic
|
||||
|
||||
# Attempt to detect target platform
|
||||
ifeq '$(findstring ;,$(PATH))' ';'
|
||||
UNAME := Windows
|
||||
else
|
||||
UNAME := $(shell uname 2>/dev/null || echo Unknown)
|
||||
UNAME := $(patsubst CYGWIN%,Cygwin,$(UNAME))
|
||||
UNAME := $(patsubst MSYS%,MSYS,$(UNAME))
|
||||
UNAME := $(patsubst MINGW%,MSYS,$(UNAME))
|
||||
endif
|
||||
|
||||
# Add '.exe' extension on Windows platforms
|
||||
ifeq ($(UNAME), Windows)
|
||||
TARGET := datmagic.exe
|
||||
endif
|
||||
ifeq ($(UNAME), MSYS)
|
||||
TARGET := datmagic.exe
|
||||
endif
|
||||
|
||||
CFLAGS := -O2 -Wall -Wextra
|
||||
|
||||
all: datmagic
|
||||
all: $(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f datmagic.exe
|
||||
rm -f $(TARGET) mame2003-plus.html
|
||||
|
||||
datmagic: datmagic.c
|
||||
$(TARGET): datmagic.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
@ -3,9 +3,6 @@
|
||||
Beta version 5 - Jan. 17th 2021
|
||||
by: mahoneyt944 - MAME 2003-Plus Team.
|
||||
|
||||
- Still need to generalize the XML DAT and h1 header name instead of hardcoded to 2003+
|
||||
- Currently tested to be compatible with MAME2003-Plus, MAME2003, MAME2010, MAME2014, MAME2015
|
||||
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user