From 7f772ef6fa5caee915db2a36d4ff3ccbf39f9076 Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Sat, 21 Feb 2009 10:56:19 +0000
Subject: [PATCH] small fixes from lor
---
Rules.make.system | 4 ++--
src/instead/Makefile | 2 +-
src/sdl-instead/Makefile | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Rules.make.system b/Rules.make.system
index aa6a92b..581567c 100644
--- a/Rules.make.system
+++ b/Rules.make.system
@@ -9,7 +9,7 @@ GAMESPATH=$(DESTDIR)/share/stead/games
LUA_CFLAGS=$(shell pkg-config --cflags lua5.1)
LUA_LFLAGS=$(shell pkg-config --libs lua5.1)
-# for arch linux use this
+# for arch and gentoo linux use this
#
# LUA_CFLAGS=$(shell pkg-config --cflags lua)
# LUA_LFLAGS=$(shell pkg-config --libs lua)
@@ -18,6 +18,6 @@ LUA_LFLAGS=$(shell pkg-config --libs lua5.1)
SDL_CFLAGS=$(shell sdl-config --cflags)
SDL_LFLAGS=$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image
-CFLAGS += -g -Wall -DHAVE_ICONV -DRUSSIAN
+CFLAGS += -Wall -DHAVE_ICONV -DRUSSIAN
diff --git a/src/instead/Makefile b/src/instead/Makefile
index c24a715..3a8edc4 100644
--- a/src/instead/Makefile
+++ b/src/instead/Makefile
@@ -2,7 +2,7 @@
include ../../Rules.make
all: instead
instead: instead.c rline.c
- $(CC) $(CFLAGS) -DSTEAD_PATH=\"${STEADPATH}/\" instead.c $(LUA_CFLAGS) $(LUA_LFLAGS) rline.c -lreadline -o instead
+ $(CC) $(CFLAGS) -DSTEAD_PATH=\"${STEADPATH}/\" instead.c $(LUA_CFLAGS) rline.c $(LUA_LFLAGS) -lreadline -o instead
clean:
rm -rf *.o instead
install:
diff --git a/src/sdl-instead/Makefile b/src/sdl-instead/Makefile
index 30e85f7..8fdb52b 100644
--- a/src/sdl-instead/Makefile
+++ b/src/sdl-instead/Makefile
@@ -15,7 +15,7 @@ $(OBJ): %.o : %.c gui.h
$(CC) -c $(<) $(I) $(CFLAGS)
sdl-instead: $(OBJ)
- $(CC) $(CFLAGS) $(LDFLAGS) $(^) -o $(@)
+ $(CC) $(CFLAGS) $(^) $(LDFLAGS) -o $(@)
# strip sdl-instead
install: