From 958958395b0f7e742f55c4fb2404d097a74e9bf4 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 13 Oct 2005 16:00:37 +0000 Subject: Fixing various (fucking) macos X issues. --- compile/linux/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'compile/linux/Makefile') 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 -- cgit v1.2.3