comparison Makefile.ds @ 2698:e1da92da346c gsoc2008_nds

Clean up.
author Darren Alton <dalton@stevens.edu>
date Wed, 27 Aug 2008 04:23:38 +0000
parents c9121b04cffa
children
comparison
equal deleted inserted replaced
2697:c9121b04cffa 2698:e1da92da346c
99 src/video/SDL_yuv_sw.c \ 99 src/video/SDL_yuv_sw.c \
100 100
101 OBJS = $(SRCS:.c=.o) 101 OBJS = $(SRCS:.c=.o)
102 102
103 TEST = \ 103 TEST = \
104 test/checkkeys.c \ 104 test/nds-test-progs/general/general.nds \
105 test/graywin.c \ 105 test/nds-test-progs/sprite/sprite.nds \
106 test/loopwave.c \ 106 test/nds-test-progs/sprite2/sprite2.nds \
107 test/testalpha.c \ 107
108 test/testbitmap.c \
109 test/testcdrom.c \
110 test/testerror.c \
111 test/testgamma.c \
112 test/testgl.c \
113 test/testhread.c \
114 test/testjoystick.c \
115 test/testkeys.c \
116 test/testlock.c \
117 test/testoverlay.c \
118 test/testpalette.c \
119 test/testsem.c \
120 test/testsprite.c \
121 test/testtimer.c \
122 test/testtypes.c \
123 test/testver.c \
124 test/testvidinfo.c \
125 test/testwin.c \
126 test/testwm.c \
127 test/threadwin.c \
128 test/torturethread.c \
129 108
130 all: $(TARGET) 109 all: $(TARGET)
131 110
132 $(TARGET): copy_config \ 111 $(TARGET): copy_config \
133 $(OBJS) 112 $(OBJS)
137 install: $(TARGET) 116 install: $(TARGET)
138 @cp libSDL.a $(DEVKITPRO)/libnds/lib/ 117 @cp libSDL.a $(DEVKITPRO)/libnds/lib/
139 @mkdir -p $(DEVKITPRO)/libnds/include/SDL/ 118 @mkdir -p $(DEVKITPRO)/libnds/include/SDL/
140 @cp include/*.h $(DEVKITPRO)/libnds/include/SDL/ 119 @cp include/*.h $(DEVKITPRO)/libnds/include/SDL/
141 120
121 nds_test:
122 $(MAKE) -C test/nds-test-progs
123
142 copy_config: 124 copy_config:
143 @cp include/SDL_config.h.default include/SDL_config.h 125 @cp include/SDL_config.h.default include/SDL_config.h
144 126
145 clean: 127 clean:
146 rm -f include/SDL_config.h $(OBJS) 128 rm -f include/SDL_config.h $(OBJS)