diff --git a/Makefile b/Makefile index e95f681..c9fa133 100644 --- a/Makefile +++ b/Makefile @@ -29,8 +29,8 @@ main.elf: $(OBJ) | words.txt test.elf: ordle.cc test/test.cc @$(CXX) $(CXXFLAGS) $^ -o $@ -words.txt: - cat /usr/share/dict/words > words.txt +words.txt: /usr/share/dict/words + cat $< > $@ %.o:%.cc @echo "Building $@" @@ -50,4 +50,4 @@ format: clean: rm -f *.o *.elf words.txt -.PHONY: clean all lint clang-tidy cppcheck format words.txt +.PHONY: clean all lint clang-tidy cppcheck format