From 85d7afb6df584a8aa1a0db74634b45b6a0da1485 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 18 Nov 2019 15:36:30 +0100 Subject: [PATCH] LibHTML: Make all .cpp files implicitly depend on the generated sources Hopefully this will make Travis generate sources before building all the other files. --- Libraries/LibHTML/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibHTML/Makefile b/Libraries/LibHTML/Makefile index 4929a87ede..bb4f708ae6 100644 --- a/Libraries/LibHTML/Makefile +++ b/Libraries/LibHTML/Makefile @@ -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)