Makefile.psp
author Philipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 13 Feb 2016 17:34:14 +0100
changeset 10065 0cc67477cb1e
parent 7667 be1cc6f55840
child 12130 24142c5073a4
permissions -rw-r--r--
PSP: Added missing object for generic TLS to Makefile.

Thanks to the SDL mailing list (and later Bugzilla #3240) for pointing this out.
     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/generic/SDL_systls.o \
    53       src/thread/psp/SDL_syssem.o \
    54       src/thread/psp/SDL_systhread.o \
    55       src/thread/psp/SDL_sysmutex.o \
    56       src/thread/psp/SDL_syscond.o \
    57       src/timer/SDL_timer.o \
    58       src/timer/psp/SDL_systimer.o \
    59       src/video/SDL_RLEaccel.o \
    60       src/video/SDL_blit.o \
    61       src/video/SDL_blit_0.o \
    62       src/video/SDL_blit_1.o \
    63       src/video/SDL_blit_A.o \
    64       src/video/SDL_blit_N.o \
    65       src/video/SDL_blit_auto.o \
    66       src/video/SDL_blit_copy.o \
    67       src/video/SDL_blit_slow.o \
    68       src/video/SDL_bmp.o \
    69       src/video/SDL_clipboard.o \
    70       src/video/SDL_fillrect.o \
    71       src/video/SDL_pixels.o \
    72       src/video/SDL_rect.o \
    73       src/video/SDL_stretch.o \
    74       src/video/SDL_surface.o \
    75       src/video/SDL_video.o \
    76       src/video/psp/SDL_pspevents.o \
    77       src/video/psp/SDL_pspvideo.o \
    78       src/video/psp/SDL_pspgl.o \
    79       src/video/psp/SDL_pspmouse.o \
    80 
    81 INCDIR = ./include
    82 CFLAGS = -g -O2 -G0 -Wall -D__PSP__ -DHAVE_OPENGL
    83 CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
    84 ASFLAGS = $(CFLAGS)
    85 
    86 LIBDIR  =
    87 LIBS = -lGL -lGLU -lglut -lz \
    88          -lpspvfpu -lpsphprm -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower -lpspgum -lpspgu -lpspaudiolib -lpspaudio -lpsphttp -lpspssl -lpspwlan \
    89          -lpspnet_adhocmatching -lpspnet_adhoc -lpspnet_adhocctl -lm -lpspvram
    90 
    91 PSPSDK=$(shell psp-config --pspsdk-path)
    92 include $(PSPSDK)/lib/build.mak
    93