0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-09 11:31:11 +01:00
construct/include/ircd/Makefile.am

43 lines
694 B
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS = foreign
2017-09-08 11:43:23 +02:00
AM_CPPFLAGS = \
-I$(top_srcdir)/include \
@BOOST_CPPFLAGS@ \
###
AM_CXXFLAGS = \
###
if GCC
2017-11-30 20:44:23 +01:00
AM_CXXFLAGS += \
-fpch-deps \
###
endif
if DEBUG
if GCC
2017-11-30 20:44:23 +01:00
AM_CXXFLAGS += \
-fmax-errors=2 \
###
endif
endif
if BUILD_PCH
2017-11-30 20:44:23 +01:00
BUILT_SOURCES = \
stdinc.h.gch \
stdinc.pic.h.gch \
###
endif
stdinc.h.gch:
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -o stdinc.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) stdinc.h
stdinc.pic.h.gch:
cp stdinc.h stdinc.pic.h
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -fPIC -o stdinc.pic.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) stdinc.pic.h
clean-local:
rm -f stdinc.h.gch
rm -f stdinc.pic.h
rm -f stdinc.pic.h.gch