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 test.elf: ordle.cc test/test.cc
@$(CXX) $(CXXFLAGS) $^ -o $@ @$(CXX) $(CXXFLAGS) $^ -o $@
words.txt: words.txt: /usr/share/dict/words
cat /usr/share/dict/words > words.txt cat $< > $@
%.o:%.cc %.o:%.cc
@echo "Building $@" @echo "Building $@"
@ -50,4 +50,4 @@ format:
clean: clean:
rm -f *.o *.elf words.txt rm -f *.o *.elf words.txt
.PHONY: clean all lint clang-tidy cppcheck format words.txt .PHONY: clean all lint clang-tidy cppcheck format