From 9dae5db049909b8838e023d7c0a41117c0e00c61 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 11 Oct 2009 17:56:13 +0000 Subject: [PATCH] Update to build with devkitpro r18 --- Makefile.wii | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.wii b/Makefile.wii index 16087b0..6ee545b 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -150,7 +150,7 @@ dist: uae.dol uae.elf: $(SYMLINKS) src/target.h src/md-fpp.h src/sysconfig.h $(OBJS) @echo Linking $@ @-mkdir -p $(dir $@) - powerpc-gekko-g++ -o $@ $(OBJS) $(LDFLAGS) + $(CXX) -o $@ $(OBJS) $(LDFLAGS) #keep elf for debugging #cp $@ /tmp/elf @@ -158,9 +158,9 @@ uae.elf: $(SYMLINKS) src/target.h src/md-fpp.h src/sysconfig.h $(OBJS) $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c @echo Compiling $< @-mkdir -p $(dir $@) - @powerpc-gekko-gcc $(CFLAGS) -c $< -o $@ $(PIPE_TO_SED) + @$(CC) $(CFLAGS) -c $< -o $@ $(PIPE_TO_SED) $(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp @echo Compiling $< @-mkdir -p $(dir $@) - @powerpc-gekko-g++ $(CFLAGS) -c $< -o $@ $(PIPE_TO_SED) + @$(CXX) $(CFLAGS) -c $< -o $@ $(PIPE_TO_SED)