Hacker News new | past | comments | ask | show | jobs | submit login

This tiny Makefile should convey the idea.

    CFLAGS=-MD -MP

    prog: <list of .o files>
        $(CC) -o $@ $^
        
    -include *.d



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

Search: