Add support for LyX

Added the object files to the makefile. Specific test not yet provided.