# generated by gcc
src/**/*.o
src/hengband
+src/stdafx.h.gch
# Ignore generated documents by Doxygen
doxygen/html/
m4/ltversion.m4
m4/lt~obsolete.m4
-# Generated Makefile
-# (meta build system like autotools,
+# Generated Makefile
+# (meta build system like autotools,
# can automatically generate from config.status script
# (which is called by configure script))
Makefile
main-win/main-win-sound.cpp main-win/main-win-sound.h \
main-win/main-win-tokenizer.cpp main-win/main-win-tokenizer.h \
main-win/main-win-windows.h \
- makefile.bcc makefile.std term/readdib.cpp term/readdib.h wall.bmp
+ makefile.bcc makefile.std term/readdib.cpp term/readdib.h wall.bmp \
+ stdafx.cpp stdafx.h
EXTRA_DIST = \
gcc-wrap
DEFAULT_INCLUDES = -I$(srcdir) -I$(top_builddir)/src
-CPPFLAGS += $(XFT_CFLAGS) $(libcurl_CFLAGS)
+CPPFLAGS += $(XFT_CFLAGS) $(libcurl_CFLAGS) -include stdafx.h
LIBS += $(XFT_LIBS) $(libcurl_LIBS)
COMPILE = $(srcdir)/gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CXXCOMPILE = $(srcdir)/gcc-wrap $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CXXFLAGS)
+stdafx.h.gch: stdafx.h stdafx.cpp Makefile
+ $(CXX) -x c++-header $(CXXFLAGS) stdafx.cpp -o $@
+
+$(hengband_SOURCES:.cpp=.$(OBJEXT)): stdafx.h.gch
+
install-exec-hook:
if SET_GID
chgrp "@GAMEGROUP@" "$(DESTDIR)$(bindir)/hengband"