CC=gcc
CFLAGS=-g3 -Wall

PROGRAMS=lcs

all: $(PROGRAMS)

test: all
	# abcdef = length 6
	./lcs abcXYZdef aabbccddeeff
	# not sure?
	# guess:
	# "Th evolution oeeeied." = length 21
	./lcs "The Revolution will not be televised." \
	      "Through evolution, our genes are optimized."

clean:
	$(RM) *.o $(PROGRAMS)

