summaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
Diffstat (limited to 'compile')
-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