$ ./linenumbers < Makefile
1: CC := clang
2: CFLAGS := -Wall -std=c11 -g -fsanitize=address,undefined
3: LDFLAGS := -fsanitize=address,undefined
4:
5: .PHONY: all clean
6:
7: all: linenumbers
8: clean:
9: $(RM) linenumbers
You may assume a line is no longer than 1024 characters for now.