Inside a makefile, I saw the entries below:

main entry
    pkt_srv() { }
    pkt_ent() { }
    pku_lib() { }

So, is this calling another make file. i.e pkt_srv.mak and pkt_ent.mak and what is the meaning of omk file extension?

  • We cannot help, since you don't show your real Makefile. The .mak & .omk are extensions conventional to your project. I saw other projects using -include foo.mk directives in their Makefile. YMMV. I strongly suggest diving into the documentation of GNU make. – Basile Starynkevitch Jan 28 '16 at 8:20
  • You could also use make --trace or remake -x to understand more what is happening. – Basile Starynkevitch Jan 28 '16 at 8:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.