Makefile.psp
author Sylvain Becker <sylvain.becker@gmail.com>
Mon, 21 Jan 2019 23:41:43 +0100
changeset 12569 05aff4771d9a
parent 12131 9601849b3079
permissions -rw-r--r--
Fixed bug 4024 - GameController error "Unexpected controller element"

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