mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-02-16 20:39:15 +01:00
Compile with -O2...
This commit is contained in:
parent
9c64590e93
commit
4a8186f747
@ -1,5 +1,5 @@
|
||||
version 2:
|
||||
* Removed status bar
|
||||
* Improved speed just a bit
|
||||
* Only save prefs on exit
|
||||
* Pause sound in the menu
|
||||
* Handle very long filenames better (thanks Corey89 for pointing this out)
|
||||
|
2
Makefile
2
Makefile
@ -26,7 +26,7 @@ INCLUDES :=
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
PCFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0
|
||||
CFLAGS = -g -Wall $(MACHDEP) $(INCLUDE) -I$(DEVKITPRO)/SDL/include -U__unix -DHAVE_SDL
|
||||
CFLAGS = -O2 -g -Wall $(MACHDEP) $(INCLUDE) -I$(DEVKITPRO)/SDL/include -U__unix -DHAVE_SDL
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
|
||||
LDFLAGS = -L$(DEVKITPRO)/SDL/lib -g $(MACHDEP) -Wl,-Map,$(notdir $@).map
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define SAVES_PATH "saves"
|
||||
#define IMAGE_PATH "images"
|
||||
#endif
|
||||
#define MS_PER_FRAME 24
|
||||
#define MS_PER_FRAME 27
|
||||
|
||||
static struct timeval tv_start;
|
||||
static int MENU_SIZE_X, MENU_SIZE_Y;
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
#ifdef HAVE_SDL
|
||||
struct SDL_Surface;
|
||||
extern SDL_Surface *screen;
|
||||
extern SDL_Surface *real_screen;
|
||||
#endif
|
||||
|
||||
|
@ -8,7 +8,7 @@ REVISION = 1
|
||||
|
||||
CXX = g++
|
||||
LIBS = -L/usr/lib -lSDL -lSDL_ttf -lSDL_mixer -lSDL_image
|
||||
CFLAGS = -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0
|
||||
CFLAGS = -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -I./ -DFRODO_HPUX_REV=0 -DKBD_LANG=0
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
|
Loading…
x
Reference in New Issue
Block a user