add .def to Makefile