Makefile.psp
changeset 7009 161b7b6a5303
child 7589 e9a7333d86f0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile.psp	Sun Mar 17 20:07:02 2013 +0800
     1.3 @@ -0,0 +1,92 @@
     1.4 +TARGET_LIB = libSDL2.a
     1.5 +OBJS= src/SDL.o \
     1.6 +      src/SDL_assert.o \
     1.7 +      src/SDL_error.o \
     1.8 +      src/SDL_fatal.o \
     1.9 +      src/SDL_hints.o \
    1.10 +      src/SDL_log.o \
    1.11 +      src/atomic/SDL_atomic.o \
    1.12 +      src/atomic/SDL_spinlock.o \
    1.13 +      src/audio/SDL_audio.o \
    1.14 +      src/audio/SDL_audiocvt.o \
    1.15 +      src/audio/SDL_audiodev.o \
    1.16 +      src/audio/SDL_audiotypecvt.o \
    1.17 +      src/audio/SDL_mixer.o \
    1.18 +      src/audio/SDL_wave.o \
    1.19 +      src/audio/psp/SDL_pspaudio.o \
    1.20 +      src/cpuinfo/SDL_cpuinfo.o \
    1.21 +      src/events/SDL_clipboardevents.o \
    1.22 +      src/events/SDL_dropevents.o \
    1.23 +      src/events/SDL_events.o \
    1.24 +      src/events/SDL_gesture.o \
    1.25 +      src/events/SDL_keyboard.o \
    1.26 +      src/events/SDL_mouse.o \
    1.27 +      src/events/SDL_quit.o \
    1.28 +      src/events/SDL_touch.o \
    1.29 +      src/events/SDL_windowevents.o \
    1.30 +      src/file/SDL_rwops.o \
    1.31 +      src/haptic/SDL_haptic.o \
    1.32 +      src/haptic/dummy/SDL_syshaptic.o \
    1.33 +      src/joystick/SDL_joystick.o \
    1.34 +      src/joystick/SDL_gamecontroller.o \
    1.35 +      src/joystick/psp/SDL_sysjoystick.o \
    1.36 +      src/power/SDL_power.o \
    1.37 +      src/power/psp/SDL_syspower.o \
    1.38 +      src/render/SDL_render.o \
    1.39 +      src/render/SDL_yuv_sw.o \
    1.40 +      src/render/psp/SDL_render_psp.o \
    1.41 +      src/render/software/SDL_blendfillrect.o \
    1.42 +      src/render/software/SDL_blendline.o \
    1.43 +      src/render/software/SDL_blendpoint.o \
    1.44 +      src/render/software/SDL_drawline.o \
    1.45 +      src/render/software/SDL_drawpoint.o \
    1.46 +      src/render/software/SDL_render_sw.o \
    1.47 +      src/render/software/SDL_rotate.o \
    1.48 +      src/stdlib/SDL_getenv.o \
    1.49 +      src/stdlib/SDL_iconv.o \
    1.50 +      src/stdlib/SDL_malloc.o \
    1.51 +      src/stdlib/SDL_qsort.o \
    1.52 +      src/stdlib/SDL_stdlib.o \
    1.53 +      src/stdlib/SDL_string.o \
    1.54 +      src/thread/SDL_thread.o \
    1.55 +      src/thread/psp/SDL_syssem.o \
    1.56 +      src/thread/psp/SDL_systhread.o \
    1.57 +      src/thread/psp/SDL_sysmutex.o \
    1.58 +      src/thread/psp/SDL_syscond.o \
    1.59 +      src/timer/SDL_timer.o \
    1.60 +      src/timer/psp/SDL_systimer.o \
    1.61 +      src/video/SDL_RLEaccel.o \
    1.62 +      src/video/SDL_blit.o \
    1.63 +      src/video/SDL_blit_0.o \
    1.64 +      src/video/SDL_blit_1.o \
    1.65 +      src/video/SDL_blit_A.o \
    1.66 +      src/video/SDL_blit_N.o \
    1.67 +      src/video/SDL_blit_auto.o \
    1.68 +      src/video/SDL_blit_copy.o \
    1.69 +      src/video/SDL_blit_slow.o \
    1.70 +      src/video/SDL_bmp.o \
    1.71 +      src/video/SDL_clipboard.o \
    1.72 +      src/video/SDL_fillrect.o \
    1.73 +      src/video/SDL_pixels.o \
    1.74 +      src/video/SDL_rect.o \
    1.75 +      src/video/SDL_stretch.o \
    1.76 +      src/video/SDL_surface.o \
    1.77 +      src/video/SDL_video.o \
    1.78 +      src/video/psp/SDL_pspevents.o \
    1.79 +      src/video/psp/SDL_pspvideo.o \
    1.80 +      src/video/psp/SDL_pspgl.o \
    1.81 +      src/video/psp/SDL_pspmouse.o \
    1.82 +
    1.83 +INCDIR = ./include
    1.84 +CFLAGS = -g -O2 -G0 -Wall -D__PSP__ -DHAVE_OPENGL
    1.85 +CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
    1.86 +ASFLAGS = $(CFLAGS)
    1.87 +
    1.88 +LIBDIR  =
    1.89 +LIBS = -lGL -lGLU -lglut -lz \
    1.90 +         -lpspvfpu -lpsphprm -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower -lpspgum -lpspgu -lpspaudiolib -lpspaudio -lpsphttp -lpspssl -lpspwlan \
    1.91 +         -lpspnet_adhocmatching -lpspnet_adhoc -lpspnet_adhocctl -lm -lpspvram
    1.92 +
    1.93 +PSPSDK=$(shell psp-config --pspsdk-path)
    1.94 +include $(PSPSDK)/lib/build.mak
    1.95 +