This commit is contained in:
parent
cf19f1bd0f
commit
91a796d2cc
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue