CXXFLAGS = -O3 -std=c++0x BOARDS = $(wildcard *.board) all: sudoku check: $(BOARDS:%.board=%.run) %.run: %.board sudoku ./sudoku < $<