offs = $(shell seq 0 1 16) targets = $(addprefix test_,$(offs)) all: $(targets) test_%: testn.c cc -static -DOFF=$* -O0 -o $@ $^ clean: rm -f test_*