CXX=g++ CFLAGS=-g -Wall COMPILE=$(CXX) $(CFLAGS) task17: $(COMPILE) -o task.out task17.cpp test17: task17 @printf "\n" | ./task.out @printf "Answer: \n" task18: $(COMPILE) -o task.out task18.cpp test18: task18 @printf "\n" | ./task.out @printf "Answer: \n" task19: $(COMPILE) -o task.out task19.cpp test19: task19 @printf "\n" | ./task.out @printf "Answer: \n" task14: $(COMPILE) -o task.out task14.cpp test14: task14 @printf "\n" | ./task.out @printf "Answer: \n" clean: rm -f task.out *.zip archive: clean zip archive.zip *.cpp *.h