Makefile.ds
changeset 5289 1916a9e9714d
parent 5271 73f8030f0c72
child 5290 25af68c1901d
equal deleted inserted replaced
5288:d4381f3b0d1e 5289:1916a9e9714d
    38 src/SDL_error.c \
    38 src/SDL_error.c \
    39 src/SDL_fatal.c \
    39 src/SDL_fatal.c \
    40 src/SDL_hints.c \
    40 src/SDL_hints.c \
    41 src/SDL_log.c \
    41 src/SDL_log.c \
    42 src/atomic/SDL_atomic.c \
    42 src/atomic/SDL_atomic.c \
       
    43 src/atomic/SDL_spinlock.c \
    43 src/audio/SDL_audio.c \
    44 src/audio/SDL_audio.c \
    44 src/audio/SDL_audiocvt.c \
    45 src/audio/SDL_audiocvt.c \
    45 src/audio/SDL_audiodev.c \
    46 src/audio/SDL_audiodev.c \
    46 src/audio/SDL_audiotypecvt.c \
    47 src/audio/SDL_audiotypecvt.c \
    47 src/audio/SDL_mixer.c \
    48 src/audio/SDL_mixer.c \
   116 test/nds-test-progs/sprite2/sprite2.nds \
   117 test/nds-test-progs/sprite2/sprite2.nds \
   117 
   118 
   118 
   119 
   119 all: $(TARGET) install nds_test
   120 all: $(TARGET) install nds_test
   120 
   121 
       
   122 # That file must be compiled in arm mode, not thumb mode.
       
   123 src/atomic/SDL_spinlock.o: src/atomic/SDL_spinlock.c
       
   124 	$(CC) $(CFLAGS) -mno-thumb -o $@ -c $^
       
   125 
   121 $(TARGET): copy_config \
   126 $(TARGET): copy_config \
   122 	$(OBJS)
   127 	$(OBJS)
   123 	$(AR) rc $(TARGET) $(OBJS)
   128 	$(AR) rc $(TARGET) $(OBJS)
   124 	-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
   129 	-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
   125 
   130