mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 02:29:17 +01:00
Symlink md-fpp.h during build time
This commit is contained in:
parent
e00db77854
commit
e2e44ae2b1
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -1 +0,0 @@
|
||||
.././src/include/fpp-ieee.h
|
Loading…
Reference in New Issue
Block a user