mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 02:29:17 +01:00
Remove symlinks (windows - you suck)
This commit is contained in:
parent
9323c90a10
commit
e466ab28c9
37
Makefile.wii
37
Makefile.wii
@ -19,10 +19,17 @@ INCLUDE_DIR := include
|
||||
# Tools.
|
||||
PIPE_TO_SED := 2>&1 | sed "s/:\([0-9]*\):/\(\1\) :/"
|
||||
|
||||
SYMLINKS=src/machdep src/osdep src/gfxdep src/joydep src/guidep src/sounddep src/threaddep
|
||||
|
||||
|
||||
# Source files.
|
||||
SRCS := $(wildcard $(SRC_DIR)/*.c $(SRC_DIR)/gfxdep/*.c $(SRC_DIR)/joydep/*.c $(SRC_DIR)/sounddep/*.c \
|
||||
$(SRC_DIR)/threaddep/*.c $(SRC_DIR)/guidep/*.c $(SRC_DIR)/caps/*.c $(SRC_DIR)/dms/*.c \
|
||||
$(SRC_DIR)/osdep/*.c $(SRC_DIR)/keymap/*.c) $(SRC_DIR)/machdep/support.c
|
||||
$(SRC_DIR)/osdep/*.c $(SRC_DIR)/keymap/*.c) \
|
||||
$(SRC_DIR)/machdep/support.c $(SRC_DIR)/gfxdep/rawkeys.c $(SRC_DIR)/guidep/gui-sdl.c $(SRC_DIR)/sounddep/sound.c \
|
||||
$(SRC_DIR)/gfxdep/sdlgfx.c $(SRC_DIR)/guidep/menu.c $(SRC_DIR)/osdep/main.c $(SRC_DIR)/threaddep/thread.c
|
||||
$(SRC_DIR)/gfxdep/sdlkeys.c $(SRC_DIR)/joydep/joystick.c $(SRC_DIR)/osdep/memory.c
|
||||
|
||||
|
||||
SRCS := $(filter-out src/compemu_raw_x86.c src/compemu_fpp.c src/compemu_support.c src/svgancui.c src/build68k.c src/catweasel.c \
|
||||
src/cdrom.c src/blkdev-libscg.c src/blkdev.c src/blitops.c src/akiko.c src/filesys_bootrom.c \
|
||||
@ -44,7 +51,7 @@ all: uae.dol
|
||||
# How to delete the intermediate files.
|
||||
clean:
|
||||
@echo Cleaning $(OBJ_DIR)
|
||||
@rm -f $(OBJS) src/machdep src/target.h
|
||||
@rm -f $(OBJS) src/machdep src/target.h $(SYMLINKS)
|
||||
|
||||
$(OBJ_DIR):
|
||||
install -d $@
|
||||
@ -56,6 +63,30 @@ src/machdep:
|
||||
rm -f $@
|
||||
cd src && ln -s md-ppc-gcc machdep
|
||||
|
||||
src/osdep:
|
||||
rm -f $@
|
||||
cd src && ln -s od-generic osdep
|
||||
|
||||
src/gfxdep:
|
||||
rm -f $@
|
||||
cd src && ln -s gfx-sdl gfxdep
|
||||
|
||||
src/joydep:
|
||||
rm -f $@
|
||||
cd src && ln -s jd-sdl joydep
|
||||
|
||||
src/guidep:
|
||||
rm -f $@
|
||||
cd src && ln -s gui-sdl guidep
|
||||
|
||||
src/sounddep:
|
||||
rm -f $@
|
||||
cd src && ln -s sd-sdl sounddep
|
||||
|
||||
src/threaddep:
|
||||
rm -f $@
|
||||
cd src && ln -s td-sdl threaddep
|
||||
|
||||
src/target.h:
|
||||
rm -f $@
|
||||
cd src && ln -s targets/t-wii.h target.h
|
||||
@ -110,7 +141,7 @@ dist: uae.dol
|
||||
cd $@ && tar -czf ../uae-bin.tar.gz *
|
||||
|
||||
# How to link an ELF.
|
||||
uae.elf: src/machdep src/target.h src/sysconfig.h $(OBJS)
|
||||
uae.elf: $(SYMLINKS) src/target.h src/sysconfig.h $(OBJS)
|
||||
@echo Linking $@
|
||||
@-mkdir -p $(dir $@)
|
||||
powerpc-gekko-g++ -o $@ $(OBJS) $(LDFLAGS)
|
||||
|
@ -1 +0,0 @@
|
||||
.././src/gfx-sdl
|
@ -1 +0,0 @@
|
||||
gui-sdl/
|
@ -1 +0,0 @@
|
||||
.././src/jd-sdl
|
@ -1 +0,0 @@
|
||||
.././src/sd-sdl
|
@ -1 +0,0 @@
|
||||
.././src/td-sdl
|
Loading…
Reference in New Issue
Block a user