diff options
author | Max Horn | 2002-10-23 00:20:11 +0000 |
---|---|---|
committer | Max Horn | 2002-10-23 00:20:11 +0000 |
commit | dc65a40a73b8424f2ca9fa0790a5608e2571f7f4 (patch) | |
tree | 689d4dff1b6b2ae3e3f57a01d6c43b91a8690553 | |
parent | efe90a3d53b6d2bb24f07af9867b48843d271d34 (diff) | |
download | scummvm-rg350-dc65a40a73b8424f2ca9fa0790a5608e2571f7f4.tar.gz scummvm-rg350-dc65a40a73b8424f2ca9fa0790a5608e2571f7f4.tar.bz2 scummvm-rg350-dc65a40a73b8424f2ca9fa0790a5608e2571f7f4.zip |
added some comments; conveniently allow to enable -Wshadow and -Werror
svn-id: r5268
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -13,6 +13,10 @@ RM_REC = $(RM) -r ZIP = zip -q CP = cp +####################################################################### +# Default compilation parameters. Normally don't edit these # +####################################################################### + CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas DEFINES = LDFLAGS := @@ -23,6 +27,10 @@ OBJS = # Load the build rules & settings for the chosen backend -include build.rules +####################################################################### +# Compile options - you can modify these to tweak ScummVM compilation # +####################################################################### + # Enable this if you want ScummVM to dump all scripts it runs. # This is mainly interesting for developers. # DEFINES += -DDUMP_SCRIPTS @@ -38,6 +46,14 @@ LIBS += -lmad # Uncomment this to activate extended debugging support in Simon DEFINES += -DSIMONDEBUG +# Uncomment this for stricter compile time code verification +# CFLAGS += -Wshadow -Werror + + +####################################################################### +# Misc stuff - you should normally never have to edit this # +####################################################################### + # Concat DEFINES and INCLUDES to for the CPPFLAGS CPPFLAGS= $(DEFINES) $(INCLUDES) |