4 Replies to “BSDNow 154: Myths, Pi’s & Features, oh my!”

  1. Hi Justin

    Short question and yes I am aware that this is totally off-topic. Currently I am doing some development for myself on DragonFly but I am struggling with the Makefile.

    I did not find any resource which would help me out to get an overall picture on how this works. There tons of examples for gmake, but not bmake.
    Can you point me any direction, where I can have a look.

    The project structure looks like this

    proj_root
    |- obj
    |-
    |-src
    |- *.cxx; *.hpp
    |- Makefile
    |- Makefile

    How can I run at and the build traverses down the folder and puts all object files to .

  2. The form content strips tags as it seems.
    The last sentence with the missing words
    […]
    How can I run “make” at “proj_root” and the build traverses down the “src” folder and puts all object files to “obj”.
    […]

  3. Hi Justin

    Thanks for the hints. Finally I took a Makefile from Netbsd and tailored it to my needs.
    Now the build works, but not entirely as it would be nice. I adjusted my structure to get
    benefits from “bsd.rules.mk”, as far as I have understood it.

    Yes, I had a look at the man page, but it is only helpful if one has an idea on how this works.
    It is not helpful, if one does not have an idea on how the actual file has to look like.
    That’s like handing someone, who learns a new language, some words and rules and not giving
    a hint on how this could work out or some example on how it may look like.

    Maybe it would help, if someone, who has knowledge with bmake “Makefiles”, writes a small tutorial on it, explaining the basics and gives a small real world example.

    Long story short. Thanks again for your effort, Justin. Keep up the good work with this page. I enjoy reading it. :)

    Regards
    Martin

Comments are closed.