sources:=parsetree.cc token.cc tree.cc
objects:=$(patsubst %.cc,%.o,$(sources))

all: bf2c

bf2c: 
	$(CXX) -c $(sources)
	$(CXX) bf2c.cc -o $@ $(objects)

check:
	lint -aabcehirsx $(sources) bf2c.cc
