Makefile.psp 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. TARGET_LIB = libSDL2.a
  2. OBJS= src/SDL.o \
  3. src/SDL_assert.o \
  4. src/SDL_error.o \
  5. src/SDL_hints.o \
  6. src/SDL_log.o \
  7. src/atomic/SDL_atomic.o \
  8. src/atomic/SDL_spinlock.o \
  9. src/audio/SDL_audio.o \
  10. src/audio/SDL_audiocvt.o \
  11. src/audio/SDL_audiodev.o \
  12. src/audio/SDL_audiotypecvt.o \
  13. src/audio/SDL_mixer.o \
  14. src/audio/SDL_wave.o \
  15. src/audio/psp/SDL_pspaudio.o \
  16. src/cpuinfo/SDL_cpuinfo.o \
  17. src/events/SDL_clipboardevents.o \
  18. src/events/SDL_dropevents.o \
  19. src/events/SDL_events.o \
  20. src/events/SDL_gesture.o \
  21. src/events/SDL_keyboard.o \
  22. src/events/SDL_mouse.o \
  23. src/events/SDL_quit.o \
  24. src/events/SDL_touch.o \
  25. src/events/SDL_windowevents.o \
  26. src/file/SDL_rwops.o \
  27. src/haptic/SDL_haptic.o \
  28. src/haptic/dummy/SDL_syshaptic.o \
  29. src/joystick/SDL_joystick.o \
  30. src/joystick/SDL_gamecontroller.o \
  31. src/joystick/psp/SDL_sysjoystick.o \
  32. src/power/SDL_power.o \
  33. src/power/psp/SDL_syspower.o \
  34. src/filesystem/dummy/SDL_sysfilesystem.o \
  35. src/render/SDL_render.o \
  36. src/render/SDL_yuv_sw.o \
  37. src/render/psp/SDL_render_psp.o \
  38. src/render/software/SDL_blendfillrect.o \
  39. src/render/software/SDL_blendline.o \
  40. src/render/software/SDL_blendpoint.o \
  41. src/render/software/SDL_drawline.o \
  42. src/render/software/SDL_drawpoint.o \
  43. src/render/software/SDL_render_sw.o \
  44. src/render/software/SDL_rotate.o \
  45. src/stdlib/SDL_getenv.o \
  46. src/stdlib/SDL_iconv.o \
  47. src/stdlib/SDL_malloc.o \
  48. src/stdlib/SDL_qsort.o \
  49. src/stdlib/SDL_stdlib.o \
  50. src/stdlib/SDL_string.o \
  51. src/thread/SDL_thread.o \
  52. src/thread/psp/SDL_syssem.o \
  53. src/thread/psp/SDL_systhread.o \
  54. src/thread/psp/SDL_sysmutex.o \
  55. src/thread/psp/SDL_syscond.o \
  56. src/timer/SDL_timer.o \
  57. src/timer/psp/SDL_systimer.o \
  58. src/video/SDL_RLEaccel.o \
  59. src/video/SDL_blit.o \
  60. src/video/SDL_blit_0.o \
  61. src/video/SDL_blit_1.o \
  62. src/video/SDL_blit_A.o \
  63. src/video/SDL_blit_N.o \
  64. src/video/SDL_blit_auto.o \
  65. src/video/SDL_blit_copy.o \
  66. src/video/SDL_blit_slow.o \
  67. src/video/SDL_bmp.o \
  68. src/video/SDL_clipboard.o \
  69. src/video/SDL_fillrect.o \
  70. src/video/SDL_pixels.o \
  71. src/video/SDL_rect.o \
  72. src/video/SDL_stretch.o \
  73. src/video/SDL_surface.o \
  74. src/video/SDL_video.o \
  75. src/video/psp/SDL_pspevents.o \
  76. src/video/psp/SDL_pspvideo.o \
  77. src/video/psp/SDL_pspgl.o \
  78. src/video/psp/SDL_pspmouse.o \
  79. INCDIR = ./include
  80. CFLAGS = -g -O2 -G0 -Wall -D__PSP__ -DHAVE_OPENGL
  81. CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
  82. ASFLAGS = $(CFLAGS)
  83. LIBDIR =
  84. LIBS = -lGL -lGLU -lglut -lz \
  85. -lpspvfpu -lpsphprm -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower -lpspgum -lpspgu -lpspaudiolib -lpspaudio -lpsphttp -lpspssl -lpspwlan \
  86. -lpspnet_adhocmatching -lpspnet_adhoc -lpspnet_adhocctl -lm -lpspvram
  87. PSPSDK=$(shell psp-config --pspsdk-path)
  88. include $(PSPSDK)/lib/build.mak