Changeset 1594 for trunk/core/modules/Makefile
- Timestamp:
- 01/21/12 20:45:50 (16 months ago)
- File:
-
- 1 edited
-
trunk/core/modules/Makefile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/modules/Makefile
r1569 r1594 17 17 LDOPTS+=-Wl,-N,-Ttext,0x0016ee30 -r -Wl,-d 18 18 19 OBJS=../gui_calendar.o ../gui_bench.o ../gui_4wins.o ../gui_mastermind.o ../gui_reversi.o \ 20 ../gui_sokoban.o ../gui_read.o ../gui_debug.o ../gui_tetris.o ../gui_snake.o ../gui_games.o ../dng.o ../gps.o 19 OBJS=../gui_calendar.o ../gui_bench.o ../gui_read.o ../gui_debug.o ../dng.o ../gps.o \ 20 ../gui_fselect.o ../nothumb.o ../gui_mpopup.o ../curves.o ../edgeoverlay.o \ 21 ../bitvector.o ../gui_palette.o ../gui_grid.o ../motion_detector.o ../zebra.o \ 22 ../games/gui_4wins.o ../games/gui_mastermind.o ../games/gui_reversi.o \ 23 ../games/gui_sokoban.o ../games/gui_tetris.o ../games/gui_snake.o ../games/gui_games.o ../games/simple_game.o 24 25 FLTS=fselect.flt edgeovr.flt curves.flt mpopup.flt palette.flt grids.flt mdetect.flt zebra.flt \ 26 _dng.flt benchm.flt calend.flt 4wins.flt mastmind.flt reversi.flt sokoban.flt _rawop10.flt _rawop12.flt \ 27 txtread.flt memview.flt modinsp.flt tetris.flt snake.flt gamemenu.flt modmenu.flt _tbox.flt 21 28 22 29 23 CFLAGS+=-DOPT_GENERIC_MODULES 24 OPT_OBJS= ../gui_fselect.o ../nothumb.o ../gui_mpopup.o ../curves.o ../edgeoverlay.o ../bitvector.o ../gui_palette.o ../gui_grid.o ../motion_detector.o ../zebra.o 25 OPT_FLT= fselect.flt edgeovr.flt curves.flt mpopup.flt palette.flt grids.flt mdetect.flt zebra.flt 26 27 28 all: exportlist ../flt.h \ 29 _dng.flt benchm.flt calend.flt 4wins.flt mastmind.flt reversi.flt sokoban.flt _rawop10.flt _rawop12.flt \ 30 txtread.flt memview.flt modinsp.flt tetris.flt snake.flt gamemenu.flt modmenu.flt _tbox.flt $(OPT_FLT) 30 all: exportlist ../flt.h $(FLTS) 31 31 32 32 %.o: %.c … … 42 42 @echo \-\> $@ 43 43 # arm-elf-objdump.exe -d -r -x $< >$<.dumpobj 44 # $(topdir)/tools/elf2flt/elf2flt$(EXE) $< $@ -e -f -h -r -s -iexportlist.txt >$@.dump44 # $(topdir)/tools/elf2flt/elf2flt$(EXE) $< $@ -e -f -h -r -s -iexportlist.txt -!$(topdir)/tools/elf2flt/stoplist.txt >$@.dump 45 45 $(topdir)/tools/elf2flt/elf2flt$(EXE) $< $@ -iexportlist.txt -!$(topdir)/tools/elf2flt/stoplist.txt > $(DEVNULL) 46 46 … … 57 57 $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 58 58 59 4wins.elf: simple_game.o ../gui_4wins.o59 4wins.elf: ../games/simple_game.o ../games/gui_4wins.o 60 60 @echo \-\> $@ 61 61 $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 62 62 63 mastmind.elf: simple_game.o ../gui_mastermind.o63 mastmind.elf: ../games/simple_game.o ../games/gui_mastermind.o 64 64 @echo \-\> $@ 65 65 $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 66 66 67 reversi.elf: simple_game.o ../gui_reversi.o67 reversi.elf: ../games/simple_game.o ../games/gui_reversi.o 68 68 @echo \-\> $@ 69 69 $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 70 70 71 tetris.elf: simple_game.o ../gui_tetris.o71 tetris.elf: ../games/simple_game.o ../games/gui_tetris.o 72 72 @echo \-\> $@ 73 73 $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 74 74 75 snake.elf: simple_game.o ../gui_snake.o75 snake.elf: ../games/simple_game.o ../games/gui_snake.o 76 76 @echo \-\> $@ 77 77 $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 78 78 79 sokoban.elf: ../g ui_sokoban.o79 sokoban.elf: ../games/gui_sokoban.o 80 80 @echo \-\> $@ 81 81 $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 82 82 83 gamemenu.elf: ../g ui_games.o83 gamemenu.elf: ../games/gui_games.o 84 84 @echo \-\> $@ 85 85 $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) … … 162 162 163 163 clean: 164 rm -f *.o *.elf.syms *.elf *.flt $(OBJS) $(OPT_OBJS)164 rm -f *.o *.elf.syms *.elf *.flt $(OBJS) 165 165 166 166 distclean: clean
Note: See TracChangeset
for help on using the changeset viewer.