diff options
Diffstat (limited to 'emulators/MAMEDiff/patches/patch-aa')
-rw-r--r-- | emulators/MAMEDiff/patches/patch-aa | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/emulators/MAMEDiff/patches/patch-aa b/emulators/MAMEDiff/patches/patch-aa new file mode 100644 index 00000000000..2bab95d8340 --- /dev/null +++ b/emulators/MAMEDiff/patches/patch-aa @@ -0,0 +1,36 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- makefile.orig 2005-02-24 23:39:38.000000000 +0100 ++++ makefile +@@ -3,7 +3,7 @@ + #
+
+ NAME=mamediff
+-EXT=.exe
++EXT=
+ EXE=$(NAME)$(EXT)
+
+ SRC=src
+@@ -20,9 +20,10 @@ OBJS= $(DLOBJS) \
+ # Build the obj tree then build the EXE
+ #
+
+-all: dlmaketree maketree $(EXE)
++all: maketree $(EXE)
+
+-include $(LOGIQX)/dev/datlib/makefile
++DLSRC= $(PREFIX)/include/DatLib ++CFLAGS+= -I src -I $(PREFIX)/include
+
+ #
+ # Creating obj directory tree
+@@ -51,8 +52,7 @@ $(OBJ)/%.o: $(SRC)/%.c $(SRC)/%.h $(SRC) +
+ $(EXE): $(OBJS)
+ @echo Linking $@...
+- $(LD) $(OBJS) $(LIBS) -o $@
+- $(UPX) $@
++ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
+
+ #
+ # Complete removal of built objects
|