Fixing words.txt target
All checks were successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
Imbus 2024-12-26 16:58:26 +01:00
parent cf19f1bd0f
commit 91a796d2cc

View file

@ -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