0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00
construct/include/rb/Makefile.am

29 lines
528 B
Text
Raw Normal View History

AUTOMAKE_OPTIONS = foreign
2016-07-20 20:55:46 +02:00
AM_CPPFLAGS = @BOOST_CPPFLAGS@
2016-07-24 04:12:45 +02:00
if GCC
AM_CXXFLAGS = -fpch-deps
endif
if BUILD_PCH
BUILT_SOURCES = rb.h.gch rb.pic.h.gch
endif
rb.h.gch:
2016-07-24 04:12:45 +02:00
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -o rb.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) rb.h
rb.pic.h.gch:
cp rb.h rb.pic.h
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -fPIC -o rb.pic.h.gch -DPIC $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) rb.pic.h
clean-local:
rm -f rb.h.gch
rm -f rb.pic.h
rm -f rb.pic.h.gch
mrproper-local:
rm -f config.h
rm -f config.h.in
rm -f stamp-h1