See ya make documentation, resources section for more details.
LIBRARY()
OWNER(user1)
RESOURCE(
path/to/file1 /key/in/program/1
path/to/file2 /key2
)
END()
#include <library/cpp/resource/resource.h>
int main() {
Cout << NResource::Find("/key/in/program/1") << Endl;
Cout << NResource::Find("/key2") << Endl;
}