Makefile.ds
changeset 5270 7aba0406c273
parent 3647 c5925cd41955
child 5271 73f8030f0c72
     1.1 --- a/Makefile.ds	Sat Feb 12 10:13:53 2011 -0800
     1.2 +++ b/Makefile.ds	Sat Feb 12 11:36:56 2011 -0800
     1.3 @@ -22,46 +22,58 @@
     1.4  #endif
     1.5  
     1.6  #CFLAGS=$(DEFS) -Iinclude
     1.7 -CFLAGS	=	-mthumb -mthumb-interwork \
     1.8 -		-march=armv5te -mtune=arm946e-s \
     1.9 -		-O2 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
    1.10 -		-DARM9 -D__NDS__ -I$(DEVKITPRO)/libnds/include -DENABLE_NDS -DNO_SIGNAL_H -DDISABLE_THREADS -DPACKAGE=\"SDL\" -DVERSION=\"1.3\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 \
    1.11 -		-Iinclude -Isrc -Isrc/audio -Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds -Isrc/thread -Isrc/timer -Isrc/video
    1.12 +CFLAGS	=	-mthumb -mthumb-interwork \
    1.13 +		-march=armv5te -mtune=arm946e-s \
    1.14 +		-O2 -Wall -Wwrite-strings -Wpointer-arith  \
    1.15 +		-DARM9 -D__NDS__ -I$(DEVKITPRO)/libnds/include -DENABLE_NDS -DNO_SIGNAL_H -DDISABLE_THREADS -DPACKAGE=\"SDL\" -DVERSION=\"1.3\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 \
    1.16 +		-Iinclude -Isrc -Isrc/audio -Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/nds -Isrc/thread -Isrc/timer -Isrc/video
    1.17  
    1.18  #src/audio/disk/SDL_diskaudio.c \
    1.19  #src/audio/dummy/SDL_dummyaudio.c \
    1.20  
    1.21  SRCS = \
    1.22  src/SDL.c \
    1.23 +src/SDL_assert.c \
    1.24  src/SDL_compat.c \
    1.25  src/SDL_error.c \
    1.26  src/SDL_fatal.c \
    1.27 -src/SDL_assert.c \
    1.28 -src/audio/nds/SDL_ndsaudio.c \
    1.29 +src/SDL_hints.c \
    1.30 +src/SDL_log.c \
    1.31 +src/atomic/nds/SDL_atomic.c \
    1.32 +src/atomic/SDL_atomic.c \
    1.33  src/audio/SDL_audio.c \
    1.34  src/audio/SDL_audiocvt.c \
    1.35  src/audio/SDL_audiodev.c \
    1.36  src/audio/SDL_audiotypecvt.c \
    1.37  src/audio/SDL_mixer.c \
    1.38 -src/audio/SDL_mixer_m68k.c \
    1.39  src/audio/SDL_mixer_MMX.c \
    1.40  src/audio/SDL_mixer_MMX_VC.c \
    1.41 +src/audio/SDL_mixer_m68k.c \
    1.42  src/audio/SDL_wave.c \
    1.43 -src/cdrom/dummy/SDL_syscdrom.c \
    1.44 -src/cdrom/SDL_cdrom.c \
    1.45 +src/audio/nds/SDL_ndsaudio.c \
    1.46  src/cpuinfo/SDL_cpuinfo.c \
    1.47  src/events/SDL_events.c \
    1.48  src/events/SDL_keyboard.c \
    1.49  src/events/SDL_mouse.c \
    1.50  src/events/SDL_quit.c \
    1.51 +src/events/SDL_touch.c \
    1.52  src/events/SDL_windowevents.c \
    1.53 +src/events/nds/SDL_ndsgesture.c \
    1.54  src/file/SDL_rwops.c \
    1.55 +src/haptic/SDL_haptic.c \
    1.56 +src/haptic/nds/SDL_syshaptic.c \
    1.57 +src/joystick/SDL_joystick.c \
    1.58 +src/joystick/nds/SDL_sysjoystick.c \
    1.59  src/power/SDL_power.c \
    1.60  src/power/nds/SDL_syspower.c \
    1.61 -src/haptic/SDL_haptic.c \
    1.62 -src/haptic/nds/SDL_syshaptic.c \
    1.63 -src/joystick/nds/SDL_sysjoystick.c \
    1.64 -src/joystick/SDL_joystick.c \
    1.65 +src/render/SDL_render.c \
    1.66 +src/render/SDL_yuv_sw.c \
    1.67 +src/render/software/SDL_render_sw.c \
    1.68 +src/render/software/SDL_blendpoint.c \
    1.69 +src/render/software/SDL_drawline.c \
    1.70 +src/render/software/SDL_blendline.c \
    1.71 +src/render/software/SDL_blendfillrect.c \
    1.72 +src/render/software/SDL_drawpoint.c \
    1.73  src/stdlib/SDL_getenv.c \
    1.74  src/stdlib/SDL_iconv.c \
    1.75  src/stdlib/SDL_malloc.c \
    1.76 @@ -73,37 +85,29 @@
    1.77  src/thread/nds/SDL_sysmutex.c \
    1.78  src/thread/nds/SDL_syssem.c \
    1.79  src/thread/nds/SDL_systhread.c \
    1.80 +src/timer/SDL_timer.c \
    1.81  src/timer/nds/SDL_systimer.c \
    1.82 -src/timer/SDL_timer.c \
    1.83 +src/video/SDL_RLEaccel.c \
    1.84 +src/video/SDL_blit.c \
    1.85 +src/video/SDL_blit_0.c \
    1.86 +src/video/SDL_blit_1.c \
    1.87 +src/video/SDL_blit_A.c \
    1.88 +src/video/SDL_blit_N.c \
    1.89 +src/video/SDL_blit_auto.c \
    1.90 +src/video/SDL_blit_copy.c \
    1.91 +src/video/SDL_blit_slow.c \
    1.92 +src/video/SDL_bmp.c \
    1.93 +src/video/SDL_fillrect.c \
    1.94 +src/video/SDL_pixels.c \
    1.95 +src/video/SDL_rect.c \
    1.96 +src/video/SDL_stretch.c \
    1.97 +src/video/SDL_surface.c \
    1.98 +src/video/SDL_video.c \
    1.99 +src/video/dummy/SDL_nullevents.c \
   1.100 +src/video/dummy/SDL_nullvideo.c \
   1.101  src/video/nds/SDL_ndsevents.c \
   1.102  src/video/nds/SDL_ndsrender.c \
   1.103  src/video/nds/SDL_ndsvideo.c \
   1.104 -src/video/dummy/SDL_nullevents.c \
   1.105 -src/video/dummy/SDL_nullrender.c \
   1.106 -src/video/dummy/SDL_nullvideo.c \
   1.107 -src/video/SDL_blit_0.c \
   1.108 -src/video/SDL_blit_1.c \
   1.109 -src/video/SDL_blit_A.c \
   1.110 -src/video/SDL_blit_auto.c \
   1.111 -src/video/SDL_blit.c \
   1.112 -src/video/SDL_blit_copy.c \
   1.113 -src/video/SDL_blit_N.c \
   1.114 -src/video/SDL_blit_slow.c \
   1.115 -src/video/SDL_bmp.c \
   1.116 -src/video/SDL_drawline.c \
   1.117 -src/video/SDL_drawpoint.c \
   1.118 -src/video/SDL_fillrect.c \
   1.119 -src/video/SDL_gamma.c \
   1.120 -src/video/SDL_pixels.c \
   1.121 -src/video/SDL_rect.c \
   1.122 -src/video/SDL_renderer_gl.c \
   1.123 -src/video/SDL_renderer_sw.c \
   1.124 -src/video/SDL_RLEaccel.c \
   1.125 -src/video/SDL_stretch.c \
   1.126 -src/video/SDL_surface.c \
   1.127 -src/video/SDL_video.c \
   1.128 -src/video/SDL_yuv_mmx.c \
   1.129 -src/video/SDL_yuv_sw.c \
   1.130  
   1.131  OBJS = $(SRCS:.c=.o)
   1.132  
   1.133 @@ -113,7 +117,7 @@
   1.134  test/nds-test-progs/sprite2/sprite2.nds \
   1.135  
   1.136  
   1.137 -all: $(TARGET)
   1.138 +all: $(TARGET) install nds_test
   1.139  
   1.140  $(TARGET): copy_config \
   1.141  	$(OBJS)
   1.142 @@ -126,7 +130,9 @@
   1.143  	@cp include/*.h $(DEVKITPRO)/libnds/include/SDL/
   1.144  
   1.145  nds_test:
   1.146 -	$(MAKE) -C test/nds-test-progs
   1.147 +	$(MAKE) -C test/nds-test-progs/general
   1.148 +#	$(MAKE) -C test/nds-test-progs/sprite
   1.149 +#	$(MAKE) -C test/nds-test-progs/sprite2
   1.150  
   1.151  copy_config:
   1.152  	@cp include/SDL_config.h.default include/SDL_config.h