diff options
author | Filippos Karapetis | 2009-01-02 16:52:38 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-01-02 16:52:38 +0000 |
commit | d5b6996c4521d4d02b2caae3802f5b120c632783 (patch) | |
tree | c1690def198ed98dba013de57dd447b81440ec0e /engines/saga/module.mk | |
parent | a09a7678f4c4af4aadd1e0b58fd62becc1a6125e (diff) | |
download | scummvm-rg350-d5b6996c4521d4d02b2caae3802f5b120c632783.tar.gz scummvm-rg350-d5b6996c4521d4d02b2caae3802f5b120c632783.tar.bz2 scummvm-rg350-d5b6996c4521d4d02b2caae3802f5b120c632783.zip |
- Split the IHNM script functions into a different file
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS)
svn-id: r35672
Diffstat (limited to 'engines/saga/module.mk')
-rw-r--r-- | engines/saga/module.mk | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/engines/saga/module.mk b/engines/saga/module.mk index 24ebc40a4e..0c9c219621 100644 --- a/engines/saga/module.mk +++ b/engines/saga/module.mk @@ -14,9 +14,7 @@ MODULE_OBJS := \ image.o \ input.o \ interface.o \ - introproc_ihnm.o \ introproc_ite.o \ - introproc_fta2.o \ isomap.o \ itedata.o \ music.o \ @@ -25,8 +23,6 @@ MODULE_OBJS := \ puzzle.o \ render.o \ resource.o \ - resource_hrs.o \ - resource_res.o \ resource_rsc.o \ saga.o \ saveload.o \ @@ -38,6 +34,19 @@ MODULE_OBJS := \ sprite.o \ sthread.o +ifdef ENABLE_IHNM +MODULE_OBJS += \ + introproc_ihnm.o \ + resource_res.o \ + sfuncs_ihnm.o +endif + +ifdef ENABLE_SAGA2 +MODULE_OBJS += \ + introproc_fta2.o \ + resource_hrs.o +endif + # This module can be built as a plugin ifeq ($(ENABLE_SAGA), DYNAMIC_PLUGIN) PLUGIN := 1 |