mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 10:39:19 +01:00
More order in makefile, removed compilation of fdi2raw.c and bsdsocket-posix-new.c, upadated sysconfig.h.wii
This commit is contained in:
parent
459d47071f
commit
a20bd73360
53
Makefile.wii
53
Makefile.wii
@ -24,17 +24,48 @@ SYMLINKS=src/machdep src/osdep src/gfxdep src/joydep src/guidep src/sounddep src
|
|||||||
|
|
||||||
# Source files.
|
# Source files.
|
||||||
SRCS := $(wildcard $(SRC_DIR)/*.c $(SRC_DIR)/caps/*.c $(SRC_DIR)/dms/*.c $(SRC_DIR)/keymap/*.c) \
|
SRCS := $(wildcard $(SRC_DIR)/*.c $(SRC_DIR)/caps/*.c $(SRC_DIR)/dms/*.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/rawkeys.c \
|
||||||
$(SRC_DIR)/gfxdep/sdlgfx.c $(SRC_DIR)/guidep/menu.c $(SRC_DIR)/osdep/main.c $(SRC_DIR)/threaddep/thread.c \
|
$(SRC_DIR)/gfxdep/sdlgfx.c \
|
||||||
$(SRC_DIR)/gfxdep/sdlkeys.c $(SRC_DIR)/joydep/joystick.c $(SRC_DIR)/osdep/memory.c
|
$(SRC_DIR)/gfxdep/sdlkeys.c \
|
||||||
|
$(SRC_DIR)/guidep/gui-sdl.c \
|
||||||
|
$(SRC_DIR)/guidep/menu.c \
|
||||||
|
$(SRC_DIR)/joydep/joystick.c \
|
||||||
|
$(SRC_DIR)/machdep/support.c \
|
||||||
|
$(SRC_DIR)/osdep/main.c \
|
||||||
|
$(SRC_DIR)/osdep/memory.c\
|
||||||
|
$(SRC_DIR)/sounddep/sound.c \
|
||||||
|
$(SRC_DIR)/threaddep/thread.c
|
||||||
|
|
||||||
|
SRCS := $(filter-out \
|
||||||
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/akiko.c \
|
||||||
src/cdrom.c src/blkdev-libscg.c src/blkdev.c src/blitops.c src/akiko.c src/filesys_bootrom.c \
|
src/ar.c \
|
||||||
src/genblitter.c src/gencomp.c src/gencpu.c \
|
src/blitops.c \
|
||||||
src/genlinetoscr.c src/compemu.c src/compstbl.c \
|
src/blkdev-libscg.c \
|
||||||
src/enforcer.c src/ar.c src/debug.c \
|
src/blkdev.c \
|
||||||
src/readdisk.c src/gengenblitter.c src/scsiemul.c src/tui.c src/linetoscr.c, $(SRCS))
|
src/bsdsocket-posix-new.c \
|
||||||
|
src/build68k.c \
|
||||||
|
src/catweasel.c \
|
||||||
|
src/cdrom.c \
|
||||||
|
src/compemu.c \
|
||||||
|
src/compemu_fpp.c \
|
||||||
|
src/compemu_raw_x86.c \
|
||||||
|
src/compemu_support.c \
|
||||||
|
src/compstbl.c \
|
||||||
|
src/debug.c \
|
||||||
|
src/enforcer.c \
|
||||||
|
src/fdi2raw.c \
|
||||||
|
src/filesys_bootrom.c \
|
||||||
|
src/genblitter.c \
|
||||||
|
src/gencomp.c \
|
||||||
|
src/gencpu.c \
|
||||||
|
src/gengenblitter.c \
|
||||||
|
src/genlinetoscr.c \
|
||||||
|
src/linetoscr.c \
|
||||||
|
src/readdisk.c \
|
||||||
|
src/scsiemul.c \
|
||||||
|
src/svgancui.c \
|
||||||
|
src/tui.c \
|
||||||
|
, $(SRCS))
|
||||||
|
|
||||||
genlinetoscr_args="-b"
|
genlinetoscr_args="-b"
|
||||||
|
|
||||||
@ -134,7 +165,7 @@ uae.dol: uae.elf
|
|||||||
@echo ----
|
@echo ----
|
||||||
|
|
||||||
# Compilation flags.
|
# Compilation flags.
|
||||||
COMMON_FLAGS := -g -O3 $(MACHDEP) -Wall -Wno-unused -Wno-format
|
COMMON_FLAGS := -g -O2 -ftree-vectorize -ffast-math -pipe -fomit-frame-pointer -fdiagnostics-show-option $(MACHDEP) -Wall -Wno-unused -Wno-format
|
||||||
INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I$(DEVKITPRO)/libogc/include -I$(DEVKITPRO)/libogc/include/SDL -I$(PORTLIBS)/include
|
INCLUDES := -Isrc/md-generic/ -Isrc/include -Isrc -I$(DEVKITPRO)/libogc/include -I$(DEVKITPRO)/libogc/include/SDL -I$(PORTLIBS)/include
|
||||||
DEFINES := -DOS_WITHOUT_MEMORY_MANAGEMENT -DSAVESTATE -DUSE_SDL -DSUPPORT_THREADS -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 \
|
DEFINES := -DOS_WITHOUT_MEMORY_MANAGEMENT -DSAVESTATE -DUSE_SDL -DSUPPORT_THREADS -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 \
|
||||||
-DFPUEMU -DAGA -DAUTOCONFIG -DFILESYS \
|
-DFPUEMU -DAGA -DAUTOCONFIG -DFILESYS \
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#ifdef SERIAL_PORT
|
#ifdef SERIAL_PORT
|
||||||
# ifndef WIN32
|
# ifndef WIN32
|
||||||
# include "osdep/serial.h"
|
# include "serial.h"
|
||||||
# else
|
# else
|
||||||
# include "od-win32/parser.h"
|
# include "od-win32/parser.h"
|
||||||
# endif
|
# endif
|
||||||
|
@ -149,8 +149,8 @@
|
|||||||
/* #undef HAVE_STRICMP */
|
/* #undef HAVE_STRICMP */
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
/*#define HAVE_STRINGS_H 1*/
|
#define HAVE_STRINGS_H 1
|
||||||
#undef HAVE_STRINGS_H
|
/*#undef HAVE_STRINGS_H */
|
||||||
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
@ -223,8 +223,8 @@
|
|||||||
#undef HAVE_SYS_STATFS_H
|
#undef HAVE_SYS_STATFS_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/statvfs.h> header file. */
|
/* Define to 1 if you have the <sys/statvfs.h> header file. */
|
||||||
/*#define HAVE_SYS_STATVFS_H 1*/
|
#define HAVE_SYS_STATVFS_H 1
|
||||||
#undef HAVE_SYS_STATVFS_H
|
/* #undef HAVE_SYS_STATVFS_H1 */
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
#define HAVE_SYS_STAT_H 1
|
#define HAVE_SYS_STAT_H 1
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Makefile.in for UAE tools
|
# Makefile.in for UAE tools
|
||||||
#
|
#
|
||||||
|
|
||||||
export PATH := $(DEVKITPPC)/../MinGW/bin:$(PATH):.
|
export PATH := $(DEVKITPRO)/MinGW/bin:$(PATH):.
|
||||||
|
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
Loading…
Reference in New Issue
Block a user