Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One minor tip is that you can define .PHONY multiple times. I find this much easier to manage because the .PHONY definition is right next to the target itself.

    .PHONY: foo
    foo:
        echo foo

    bar: barin
        cp barin bar

    .PHONY: baz
    baz: bar
        echo baz


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: