From 9d93a1dee66a8419e1096f8d162b149cedf43473 Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Sat, 25 Sep 2010 16:55:13 +0000
Subject: [PATCH] link to sdl-instead
---
Rules.make.macosx | 1 +
Rules.make.standalone | 1 +
Rules.make.system | 1 +
Rules.mingw | 2 ++
Rules.windows | 1 +
src/sdl-instead/Makefile | 1 +
6 files changed, 7 insertions(+)
diff --git a/Rules.make.macosx b/Rules.make.macosx
index 5773ad8..6eb1f0c 100644
--- a/Rules.make.macosx
+++ b/Rules.make.macosx
@@ -32,6 +32,7 @@ CFLAGS += -g -Wall -Dunix -D_USE_UNPACK -D_USE_BROWSE -D_SDL_MOD_BUG
INSTALLD=echo "Do not install standalone version!"
INSTALLB=echo "Do not install standalone version!"
INSTALL=echo "Do not install standalone version!"
+LN=echo "Do not install standalone version!"
EXE=
PLATFORM=macosx.m
diff --git a/Rules.make.standalone b/Rules.make.standalone
index 0226863..03e2faf 100644
--- a/Rules.make.standalone
+++ b/Rules.make.standalone
@@ -32,6 +32,7 @@ CFLAGS += -O2 -g -Wall -Dunix -D_USE_UNPACK -D_LOCAL_APPDATA # -D_SDL_MOD_BUG
INSTALLD=echo "Do not install standalone version!"
INSTALLB=echo "Do not install standalone version!"
INSTALL=echo "Do not install standalone version!"
+LN=echo "Do not install standalone version!"
EXE=
PLATFORM=unix.c
diff --git a/Rules.make.system b/Rules.make.system
index 9d632ba..1ad718a 100644
--- a/Rules.make.system
+++ b/Rules.make.system
@@ -33,6 +33,7 @@ CFLAGS += -Wall -Dunix -D_USE_UNPACK # -D_SDL_MOD_BUG
INSTALLD=install -d -m 0755
INSTALLB=install -m 0755
INSTALL=install -m 0644
+LN=ln -s
EXE=
PLATFORM=unix.c
diff --git a/Rules.mingw b/Rules.mingw
index d1fe517..5ff3a3e 100644
--- a/Rules.mingw
+++ b/Rules.mingw
@@ -34,6 +34,8 @@ EXE=.exe
INSTALLD=install -d -m 0755
INSTALLB=install -m 0755
INSTALL=install -m 0644
+LN=echo
+
PLATFORM=windows.c iowin32.c
RESOURCES=resources.o
diff --git a/Rules.windows b/Rules.windows
index 8f3b0d5..e512c7f 100644
--- a/Rules.windows
+++ b/Rules.windows
@@ -31,6 +31,7 @@ RANLIB=ranlib
INSTALLD=echo mkdir
INSTALL=copy
+LN=echo
PLATFORM=windows.c iowin32.c
RESOURCES=resources.o
diff --git a/src/sdl-instead/Makefile b/src/sdl-instead/Makefile
index 4aa7f37..e7084a2 100644
--- a/src/sdl-instead/Makefile
+++ b/src/sdl-instead/Makefile
@@ -22,6 +22,7 @@ sdl-instead$(EXE): $(OBJ) $(RESOURCES)
install:
$(INSTALLD) $(BIN)
$(INSTALLB) sdl-instead$(EXE) $(BIN)/sdl-instead$(EXE)
+ $(LN) $(BIN)/sdl-instead$(EXE) $(BIN)/instead$(EXE)
uninstall:
$(RM) $(BIN)/sdl-instead$(EXE)