diff --git a/Makefile.host b/Makefile.host index 637715e..2f0f6e9 100644 --- a/Makefile.host +++ b/Makefile.host @@ -44,7 +44,7 @@ all: uae-host.elf # How to delete the intermediate files. clean: @echo Cleaning $(OBJ_DIR) - @rm -rf $(OBJS) $(OBJ_DIR) src/machdep src/target.h $(SYMLINKS) + @rm -rf $(OBJS) $(OBJ_DIR) src/machdep src/target.h src/md-fpp.h $(SYMLINKS) $(OBJ_DIR): install -d $@ @@ -84,6 +84,10 @@ src/target.h: rm -f $@ cd src && ln -s targets/t-unix.h target.h +src/md-fpp.h: + rm -f $@ + cd src && ln -s include/fpp-ieee.h md-fpp.h + %.h: %.h.wii cp $< $@ @@ -117,7 +121,7 @@ CFLAGS := $(COMMON_FLAGS) $(INCLUDES) $(DEFINES) LDFLAGS := $(COMMON_FLAGS) -L$(LIB_DIR) -lz -lSDL_ttf -lSDL -lfreetype -lm # How to link an ELF. -uae-host.elf: $(SYMLINKS) src/target.h src/sysconfig.h $(OBJS) +uae-host.elf: $(SYMLINKS) src/target.h src/md-fpp.h src/sysconfig.h $(OBJS) @echo Linking $@ @-mkdir -p $(dir $@) g++ -o $@ $(OBJS) $(LDFLAGS) diff --git a/Makefile.wii b/Makefile.wii index 7c1c62b..1b53ece 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -49,7 +49,7 @@ all: uae.dol # How to delete the intermediate files. clean: @echo Cleaning $(OBJ_DIR) - @rm -rf $(OBJS) $(OBJ_DIR) src/machdep src/target.h $(SYMLINKS) + @rm -rf $(OBJS) $(OBJ_DIR) src/machdep src/target.h src/md-fpp.h $(SYMLINKS) $(OBJ_DIR): install -d $@ @@ -89,6 +89,10 @@ src/target.h: rm -f $@ cd src && ln -s targets/t-wii.h target.h +src/md-fpp.h: + rm -f $@ + cd src && ln -s include/fpp-ieee.h md-fpp.h + %.h: %.h.wii cp $< $@ @@ -139,7 +143,7 @@ dist: uae.dol cd $@ && tar -czf ../uae-bin.tar.gz * # How to link an ELF. -uae.elf: $(SYMLINKS) src/target.h src/sysconfig.h $(OBJS) +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) diff --git a/src/md-fpp.h b/src/md-fpp.h deleted file mode 120000 index 3060c9d..0000000 --- a/src/md-fpp.h +++ /dev/null @@ -1 +0,0 @@ -.././src/include/fpp-ieee.h \ No newline at end of file