Ignore:
Timestamp:
01/21/12 20:45:50 (16 months ago)
Author:
philmoz
Message:

Some cleanup of the main trunk by moving all the game related files to a separate directory.
Also fixes a problem in the curves code introduced when it was converted to a module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/modules/Makefile

    r1569 r1594  
    1717LDOPTS+=-Wl,-N,-Ttext,0x0016ee30 -r -Wl,-d 
    1818 
    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 
     19OBJS=../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 
     25FLTS=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 
    2128 
    2229 
    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) 
     30all: exportlist ../flt.h $(FLTS) 
    3131 
    3232%.o: %.c 
     
    4242        @echo \-\> $@ 
    4343#       arm-elf-objdump.exe -d -r -x $< >$<.dumpobj 
    44 #       $(topdir)/tools/elf2flt/elf2flt$(EXE) $< $@ -e -f -h -r -s -iexportlist.txt >$@.dump 
     44#       $(topdir)/tools/elf2flt/elf2flt$(EXE) $< $@ -e -f -h -r -s -iexportlist.txt -!$(topdir)/tools/elf2flt/stoplist.txt >$@.dump 
    4545        $(topdir)/tools/elf2flt/elf2flt$(EXE) $< $@ -iexportlist.txt -!$(topdir)/tools/elf2flt/stoplist.txt > $(DEVNULL) 
    4646 
     
    5757        $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 
    5858 
    59 4wins.elf: simple_game.o ../gui_4wins.o 
     594wins.elf: ../games/simple_game.o ../games/gui_4wins.o 
    6060        @echo \-\> $@ 
    6161        $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 
    6262 
    63 mastmind.elf: simple_game.o ../gui_mastermind.o 
     63mastmind.elf: ../games/simple_game.o ../games/gui_mastermind.o 
    6464        @echo \-\> $@ 
    6565        $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 
    6666 
    67 reversi.elf: simple_game.o ../gui_reversi.o 
     67reversi.elf: ../games/simple_game.o ../games/gui_reversi.o 
    6868        @echo \-\> $@ 
    6969        $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 
    7070 
    71 tetris.elf: simple_game.o ../gui_tetris.o 
     71tetris.elf: ../games/simple_game.o ../games/gui_tetris.o 
    7272        @echo \-\> $@ 
    7373        $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 
    7474 
    75 snake.elf: simple_game.o ../gui_snake.o 
     75snake.elf: ../games/simple_game.o ../games/gui_snake.o 
    7676        @echo \-\> $@ 
    7777        $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 
    7878 
    79 sokoban.elf: ../gui_sokoban.o 
     79sokoban.elf: ../games/gui_sokoban.o 
    8080        @echo \-\> $@ 
    8181        $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 
    8282 
    83 gamemenu.elf: ../gui_games.o 
     83gamemenu.elf: ../games/gui_games.o 
    8484        @echo \-\> $@ 
    8585        $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^ $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS) 
     
    162162 
    163163clean: 
    164         rm -f *.o *.elf.syms *.elf *.flt $(OBJS) $(OPT_OBJS) 
     164        rm -f *.o *.elf.syms *.elf *.flt $(OBJS) 
    165165 
    166166distclean: clean 
Note: See TracChangeset for help on using the changeset viewer.