mirror of
https://github.com/matrix-construct/construct
synced 2024-11-04 21:08:57 +01:00
7d3e1e49a5
Require at least 1.56 for now... Testing of older versions is needed once librb is replaced and we know what's needed.
28 lines
528 B
Makefile
28 lines
528 B
Makefile
AUTOMAKE_OPTIONS = foreign
|
|
|
|
AM_CPPFLAGS = @BOOST_CPPFLAGS@
|
|
|
|
if GCC
|
|
AM_CXXFLAGS = -fpch-deps
|
|
endif
|
|
|
|
if BUILD_PCH
|
|
BUILT_SOURCES = rb.h.gch rb.pic.h.gch
|
|
endif
|
|
|
|
rb.h.gch:
|
|
$(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
|