Changeset 522 for trunk/core/Makefile


Ignore:
Timestamp:
09/22/08 02:54:07 (5 years ago)
Author:
reyalp
Message:
  • Made games compile time optional. Set or unset OPT_GAME_* in root makefile.inc
  • Moved sokoban levels from static data (gui_sokoban_levels.h) to file CHDK/GAMES/SOKOBAN.LEV

See http://chdk.setepontos.com/index.php/topic,688.msg21578.html#msg21578 for details

  • Renamed lua compile option variables CHDK_->OPT_
  • Minor tweaks in luascript
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/Makefile

    r521 r522  
    1212all: main.bin 
    1313 
     14OPT_OBJS= 
     15ifdef OPT_GAME_REVERSI 
     16CFLAGS+=-DOPT_GAME_REVERSI 
     17OPT_OBJS+=gui_reversi.o 
     18endif 
     19ifdef OPT_GAME_SOKOBAN 
     20CFLAGS+=-DOPT_GAME_SOKOBAN 
     21OPT_OBJS+=gui_sokoban.o 
     22endif 
     23 
    1424OBJS=entry.o nothumb.o main.o gui_draw.o gui_menu.o gui_palette.o gui_mbox.o \ 
    15      gui_reversi.o gui_debug.o gui_fselect.o gui_read.o gui.o kbd.o conf.o \ 
    16      histogram.o gui_batt.o gui_space.o gui_osd.o script.o curves.o raw.o gui_sokoban.o gui_calendar.o \ 
     25     gui_debug.o gui_fselect.o gui_read.o gui.o kbd.o conf.o \ 
     26     histogram.o gui_batt.o gui_space.o gui_osd.o script.o curves.o raw.o gui_calendar.o \ 
    1727     gui_lang.o gui_bench.o gui_mpopup.o gui_grid.o motion_detector.o raw_merge.o \ 
    18      luascript.o edgeoverlay.o shot_histogram.o 
     28     luascript.o edgeoverlay.o shot_histogram.o $(OPT_OBJS) 
    1929 
    2030gui.o: FORCE 
Note: See TracChangeset for help on using the changeset viewer.