• Michael Shigorin's avatar
    main.mk: target refactoring · 768df7e9
    Michael Shigorin authored
    The issue with the original hasty code that stuck around
    was that it bluntly ignored any ifdef/ifeq constructs due to
    an obvious reason of being essentially a grep, not a makefile
    interpreter.
    
    It's now fixed so that e.g. arch-specific targets won't pop up
    for no good reason.
    
    Thanks ldv@ for discussion and a reminder about the dump mode
    (make -p).
    768df7e9
main.mk 2.72 KB