You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
255 B

.PHONY: test
test: test/test
test/test: test/test.cpp
$(CXX) -I. --std=c++20 -Wall -Werror -pedantic $< -o $@
if strings $@ | grep Hello; then exit 1; fi
./$@
strings $@ | grep bOFFE >> /dev/null
@echo ""
@echo "Passed."
clean:
rm -f test/test