Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Champ Kaiten Patissier port #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
CC = i586-mingw32msvc-gcc
CXX = i586-mingw32msvc-++
RM = rm -f
DEFAULT_CFLAGS = -Wall -O2 -ffast-math -I/usr/i586-mingw32msvc/include/SDL
CFLAGS = $(DEFAULT_CFLAGS)
CXXFLAGS = $(DEFAULT_CFLAGS)
LDFLAGS = -logg -lvorbis -lvorbisenc -lvorbisfile -lsmpeg -lmingw32 -lSDL_gfx -lSDL_mixer -lSDLmain -lSDL -mwindows -mno-cygwin

OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o stageselect.o demo.o

SOURCES = $(patsubst %.o, %.c, $(OBJS))

all: RotateGear

RotateGear: $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CC = /usr/bin/arm-linux-gnueabihf-gcc
CXX = /usr/bin/arm-linux-gnueabihf-g++
RM = rm -f

CFLAGS = -Wall -O2 `sdl-config --cflags` -Igfx -DHOME_PATH
CXXFLAGS = $(CFLAGS)
LDFLAGS = -lSDL -lSDL_mixer -lm -L/usr/lib/arm-linux-gnueabihf

OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o demo.o stageselect.o ./gfx/SDL_rotozoom.o

SOURCES = $(patsubst %.o, %.c, $(OBJS))

all: RotateGear

RotateGear: $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)

clean:
rm *.o ./gfx/*.o
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
CC = gcc
CXX = g++
RM = rm -f

CFLAGS = -Wall -O2 `sdl-config --cflags` -Igfx
CXXFLAGS = $(CFLAGS)
LDFLAGS = -L/lib/arm-linux-gnueabihf/ `sdl-config --libs` -lSDL_mixer -L/lib/arm-linux-gnueabihf/ -lc-2.28



OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o demo.o stageselect.o ./gfx/SDL_rotozoom.o

SOURCES = $(patsubst %.o, %.c, $(OBJS))

all: RotateGear

RotateGear: $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)

clean:
rm *.o
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CC = gcc
CXX = g++
RM = rm -f

CFLAGS = -Wall -O2 `sdl-config --cflags` -Igfx
CXXFLAGS = $(CFLAGS)
LDFLAGS = `sdl-config --libs` -lSDL_mixer

OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o demo.o stageselect.o ./gfx/SDL_rotozoom.o

SOURCES = $(patsubst %.o, %.c, $(OBJS))

all: RotateGear

RotateGear: $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)

clean:
rm *.o
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@


CROSS_COMPILE = C:/devkitGP2X/bin/arm-linux-
SDL_BASE = C:/devkitGP2X/bin/arm-linux-
LDFLAGS = -static

CC = $(CROSS_COMPILE)gcc
CXX = $(CROSS_COMPILE)g++
STRIP = $(CROSS_COMPILE)strip

CFLAGS = `$(SDL_BASE)sdl-config --cflags` -O2 -Wall -DGP2X
CXXFLAGS = `$(SDL_BASE)sdl-config --cflags` -O2 -Wall -DGP2X
#LIBS = -L"C:/GP2X/devkitGP2X/lib" -lSDL -lSDL_gfx --start-group -lSDL_ttf -lfreetype -lSDL --end-group -lSDL_gfx -lSDL_image -ljpeg -lpng12 -lz --start-group -lSDL_mixer -lvorbisidec -lmikmod -lsmpeg -lSDL --end-group -lgcc -lm -lc -lexpat -lpthread -ldl
LIBS = `$(SDL_BASE)sdl-config --libs`

SDLTEST_TARGET = RotateGear.gpe
SDLTEST_OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o stageselect.o demo.o

all : $(SDLTEST_TARGET)

$(SDLTEST_TARGET) : $(SDLTEST_OBJS)
$(CXX) $(LDFLAGS) -o $(SDLTEST_TARGET) $(SDLTEST_OBJS) $(LIBS)
$(STRIP) $(SDLTEST_TARGET)

clean:
rm -f $(ALL_TARGETS) *.o *~
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CC = gcc
CXX = g++
RM = rm -f

CFLAGS = -Wall -O0 `sdl-config --cflags` -Igfx -DHOME_PATH -g
CXXFLAGS = $(CFLAGS)
LDFLAGS = -lSDL -lSDL_mixer -lm

OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o demo.o stageselect.o ./gfx/SDL_rotozoom.o

SOURCES = $(patsubst %.o, %.c, $(OBJS))

all: RotateGear

RotateGear: $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)

clean:
rm *.o ./gfx/*.o
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
CC = gcc
CXX = g++
RM = rm -f
FRAMEWORKS = /Library/Frameworks
DEFAULT_CFLAGS = -Wall -O2 -ffast-math -I$(FRAMEWORKS)/SDL.framework/Headers -I$(FRAMEWORKS)/SDL_mixer.framework/Headers -I./
CFLAGS = $(DEFAULT_CFLAGS) -DMacOS
CXXFLAGS = $(DEFAULT_CFLAGS) -DMacOS
#LDFLAGS = `sdl-config --libs`
#LDFLAGS = -L/usr/local/mingw32/lib -logg -lvorbis -lvorbisenc -lvorbisfile -lsmpeg -lmingw32 -lSDL_gfx -lSDL_mixer -lSDLmain -lSDL -mwindows -mno-cygwin
LDFLAGS = -Wl,-framework,SDL -Wl,-framework,SDL_mixer -Wl,-framework,Cocoa -L./ -lSDL_gfx NIBless/SDLMain.o

OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o stageselect.o demo.o

SOURCES = $(patsubst %.o, %.c, $(OBJS))

ifeq ($(wildcard .depend),.depend)
do-it-all: RotateGear
include .depend
else
do-it-all: depend recursive
recursive:
make -f Makefile.macosx
endif

.PHONY: depend
depend: $(OBJS)
$(CC) -MM $(CFLAGS) $(SOURCES) > .depend

.PHONY: clean
clean:
$(RM) $(OBJS) *~ .depend RotateGear.exe

RotateGear: $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CC = i586-mingw32msvc-gcc
CXX = i586-mingw32msvc-g++
RM = rm -f

CFLAGS = -Wall -O2 -I/usr/i586-mingw32msvc/include/SDL -DMINGW -DBUILD_DLL
CXXFLAGS = $(CFLAGS)
LDFLAGS = -lmingw32 -lSDLmain -lSDL -lSDL_mixer -mwindows

OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o demo.o stageselect.o gfx/SDL_rotozoom.o

SOURCES = $(patsubst %.o, %.c, $(OBJS))

all: RotateGear.exe

RotateGear.exe: $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)

clean:
rm *.o ./gfx/*.o
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
TARGET = ChampyonshippKaitenPatissier
OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o demo.o stageselect.o

BUILD_PRX = 1
PSP_FW_VERSION = 401

CFLAGS = -O2 -G0 -Wall -w -g -Wextra -DPSPUMODE
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti -fno-builtin-printf
ASFLAGS = $(CFLAGS)

LIBDIR =
LIBS = -L/usr/local/pspsdk/lib
LDFLAGS =

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Champyonshipp Kaiten Pattisier PSP
PSP_EBOOT_ICON = ICON0.png

PSPSDK=$(shell psp-config --pspsdk-path)
PSPBIN = $(PSPSDK)/../bin
CFLAGS += -I/usr/local/pspdev/psp/include/SDL
LIBS += $(shell $(PSPBIN)/freetype-config --libs)
LIBS += -lSDL_mixer
LIBS += /usr/local/pspdev/psp/lib/libvorbisidec.a /usr/local/pspdev/psp/lib/libvorbis.a /usr/local/pspdev/psp/lib/libogg.a
LIBS += -L/usr/local/pspdev/psp/lib -lSDL -lSDL_gfx -lm -L/usr/local/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel -lpspnet_inet
LIBS += -lSDL_ttf -lfreetype
LIBS += -lpng -ljpeg -lz -lm -lpsppower -lmad -lpspaudio -lpspaudiolib
include $(PSPSDK)/lib/build.mak
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
CC = gcc
CXX = g++
RM = rm -f
DEFAULT_CFLAGS = -Wall -O2 -ffast-math `sdl-config --cflags`
CFLAGS = $(DEFAULT_CFLAGS)
CXXFLAGS = $(DEFAULT_CFLAGS)
#LDFLAGS = `sdl-config --libs`
LDFLAGS = -L/usr/local/mingw32/lib -logg -lvorbis -lvorbisenc -lvorbisfile -lsmpeg -lmingw32 -lSDL_gfx -lSDL_mixer -lSDLmain -lSDL -mwindows -mno-cygwin

OBJS = ram.o util_snd.o function.o dconv.o scene.o title.o init.o act.o option.o ending.o logo.o stageselect.o demo.o bush.o

SOURCES = $(patsubst %.o, %.c, $(OBJS))

ifeq ($(wildcard .depend),.depend)
do-it-all: RotateGear
include .depend
else
do-it-all: depend recursive
recursive:
make
endif

.PHONY: depend
depend: $(OBJS)
$(CC) -MM $(CFLAGS) $(SOURCES) > .depend


.PHONY: clean
clean:
$(RM) $(OBJS) *~ .depend RotateGear.exe

RotateGear: $(OBJS)
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
Binary file not shown.
Loading