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

43 lines
668 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 = \
ircd.h.gch \
ircd.pic.h.gch \
2017-11-30 20:44:23 +01:00
###
endif
ircd.h.gch:
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -o ircd.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) ircd.h
ircd.pic.h.gch:
cp ircd.h ircd.pic.h
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -fPIC -o ircd.pic.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) ircd.pic.h
clean-local:
rm -f ircd.h.gch
rm -f ircd.pic.h
rm -f ircd.pic.h.gch