all: comment warn.txt

comment: comment.cpp
	g++ -g -Wall -o comment comment.cpp

warn.txt:  comment.cpp
	g++ -g -Wall -o comment comment.cpp >warn.txt 2>&1

clean:
	rm core comment.o comment

