OSDN Git Service

警告レベルをWallに引き上げ、C4820は抑止 / Up warning level to all, but disable C4820.
[hengband/hengband.git] / src / Makefile.am
index 5bbc2f8..ad99aa8 100644 (file)
@@ -16,8 +16,9 @@ hengband_SOURCES = \
        generate.c dungeon.c init1.c init2.c \
        effects.c racial.c inet.c report.c snipe.c hex.c \
        artifact.c autopick.c mutation.c flavor.c spells3.c \
-       mspells1.c mspells2.c scores.c mind.c mane.c hissatsu.c \
-       bldg.c obj_kind.c wild.c avatar.c japanese.c mspells3.c \
+       mspells1.c mspells2.c mspells3.c mspells4.c \
+       scores.c mind.c mane.c hissatsu.c \
+       bldg.c obj_kind.c wild.c avatar.c japanese.c \
        main-cap.c main-gcu.c main-x11.c main-xaw.c main.c chuukei.c \
        angband.h defines.h externs.h generate.h grid.h \
        h-basic.h h-config.h h-define.h h-system.h h-type.h \
@@ -30,6 +31,9 @@ EXTRA_hengband_SOURCES = \
        makefile.bcc makefile.std makefile.dos makefile.ibm \
        readdib.c wall.bmp
 
+COMPILE = ./gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+
 install-exec-hook:
 if SET_GID
        chgrp "@GAMEGROUP@" "$(DESTDIR)$(bindir)/hengband"