diff options
author | truelight <truelight@openttd.org> | 2007-02-11 16:28:00 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-02-11 16:28:00 +0000 |
commit | 4b88663f3177e64bfcc039ef9ed7481922cb7098 (patch) | |
tree | a80f0bfecab1f32d0d6f8a699498e8fe1e803ef6 /Makefile.src.in | |
parent | c18454bf1c8715f9ed916314869e971e528ee0de (diff) | |
download | openttd-4b88663f3177e64bfcc039ef9ed7481922cb7098.tar.xz |
(svn r8678) [PSP] -Add: added LIBS and CFLAGS needed to compile PSP
-Fix: PSP needs to link with gcc, not with g++ (don't ask)
-Fix: PSP doens't support threads
Diffstat (limited to 'Makefile.src.in')
-rw-r--r-- | Makefile.src.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.src.in b/Makefile.src.in index 70a31d4b9..9d0980d9a 100644 --- a/Makefile.src.in +++ b/Makefile.src.in @@ -224,7 +224,11 @@ $(BIN_DIR)/$(TTD): $(TTD) $(TTD): rev.o $(OBJS) $(CONFIG_CACHE_LINKER) $(E) '$(STAGE) Linking $@' +ifeq ($(OS), PSP) + $(Q)$(CC_HOST) $(LDFLAGS) rev.o $(OBJS) $(LIBS) -o $@ +else $(Q)$(CXX_HOST) $(LDFLAGS) rev.o $(OBJS) $(LIBS) -o $@ +endif ifdef STRIP $(Q)$(STRIP) $@ endif |