I've added my own .c
file to Emacs /src
directory as well as the following lines
emacs.o: ... file.c file.h
file.o: file.c
in deps.mk
I get file.o
generated, but it is not linked when generating Emacs executable (at least that's what I see when I check presence of my function). Why?
In general, what actions should I undertake to add my .c
file to Emacs executable?