0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-27 22:38:21 +02:00

include/ircd: Add header deps to pch targets.

This commit is contained in:
Jason Volk 2019-05-06 13:07:05 -07:00
parent 7606996d3b
commit 3ea091712e

View file

@ -47,14 +47,16 @@ LOWMEM_FLAGS= --param ggc-min-expand=1
endif
endif
ircd.h.gch:
DEPS = *.h */*.h */*/*.h */*/*/*.h
ircd.h.gch: $(DEPS)
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -o ircd.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) ircd.h
ircd.pic.h.gch:
ircd.pic.h.gch: $(DEPS)
cp ircd.h ircd.pic.h
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -fPIC -o ircd.pic.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) -DPIC ircd.pic.h
spirit.h.gch:
spirit.h.gch: $(DEPS)
$(CXX) $(CXXFLAGS) $(LOWMEM_FLAGS) $(AM_CXXFLAGS) -fPIC -o spirit.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) -DPIC -include ircd.pic.h spirit.h
clean-local: