summaryrefslogtreecommitdiff
path: root/compile/linux
diff options
context:
space:
mode:
authorpixel <pixel>2005-10-13 16:00:37 +0000
committerpixel <pixel>2005-10-13 16:00:37 +0000
commit958958395b0f7e742f55c4fb2404d097a74e9bf4 (patch)
tree980ccc7eda5df58c7bd65f14bdd900e410af6eee /compile/linux
parenta32f4d44f1abac4084a1fc29f8b7cda141000d96 (diff)
Fixing various (fucking) macos X issues.
Diffstat (limited to 'compile/linux')
-rw-r--r--compile/linux/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/compile/linux/Makefile b/compile/linux/Makefile
index d0443c6..615466f 100644
--- a/compile/linux/Makefile
+++ b/compile/linux/Makefile
@@ -1,7 +1,7 @@
-CC = gcc
-CXX = g++
-LD = g++
-STRIP = strip --strip-all
+CC = i686-pc-linux-gcc
+CXX = i686-pc-linux-g++
+LD = i686-pc-linux-g++
+STRIP = i686-pc-linux-strip --strip-all
INCLUDES = -I../../includes -I../../psxdev -I../../generic/include \
-I../../generic/lib/zlib/include \
@@ -12,7 +12,7 @@ INCLUDES = -I../../includes -I../../psxdev -I../../generic/include \
CPPFLAGS = $(INCLUDES) -O4 -march=i686 -DSTDC_HEADERS -DREADLINE_STATIC -DHAVE_UNISTD_H -fexceptions
-LDFLAGS = -march=i586 -O4 `sdl-config --libs`
+LDFLAGS = -march=i686 -O4 `sdl-config --libs`
SOURCES = \
../../Dalos/Dalos.cc ../../cd-tool.cpp
@@ -133,12 +133,12 @@ clean:
define OBJECT_C_template
- $(addsuffix .o, $(notdir $(basename $(1)))): $(src)
+$(addsuffix .o, $(notdir $(basename $(1)))): $(src)
$$(CC) $$(CPPFLAGS) $$(CFLAGS) -c $(src)
endef
define OBJECT_CXX_template
- $(addsuffix .o, $(notdir $(basename $(1)))): $(src)
+$(addsuffix .o, $(notdir $(basename $(1)))): $(src)
$$(CXX) $$(CPPFLAGS) $$(CXXFLAGS) -c $(src)
endef