• Laslo Hunhold's avatar
    Rename TOOL-LDFLAGS to TOOL-LDLIBS, fix order and add explicit .c.o · 031b208c
    Laslo Hunhold authored
    The tool-specific flags were LDLIBS and not LDFLAGS, because we specify
    the libraries we want to link in, not flags to the linker itself.
    The order was broken as it didn't allow -Wl,--as-needed or other things
    highly dependent on the order of arguments.
    I also wanted to add an explicit .c.o suffix rule. This way, it is
    clearer what is happening in the Makefile and the form of compilation
    output is controllable.
config.mk 294 Bytes