LibHTML: Make all .cpp files implicitly depend on the generated sources

Hopefully this will make Travis generate sources before building all
the other files.
This commit is contained in:
Andreas Kling 2019-11-18 15:36:30 +01:00
parent a116a4a180
commit 85d7afb6df
Notes: sideshowbarker 2024-07-19 11:09:36 +09:00

View file

@ -88,7 +88,7 @@ CSS/PropertyID.cpp: CSS/Properties.json CodeGenerators/Generate_CSS_PropertyID_c
make -C CodeGenerators/Generate_CSS_PropertyID_cpp
@echo "GENERATE $@"; CodeGenerators/Generate_CSS_PropertyID_cpp/Generate_CSS_PropertyID_cpp $< > $@
.cpp.o:
%.o: %.cpp $(GENERATED_SOURCES)
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
-include $(OBJS:%.o=%.d)