| ae449bc1 | 27-Feb-2025 |
Satish Balay <balay@mcs.anl.gov> |
make: add PRELIBS and LIBS options similar to CPPFLAGS, CFLAGS, LDFLAGS
make CPPFLAGS=-DMY_FLAG CFLAGS=-Werror LDFLAGS=-Wl,--print-map PRELIBS=-lfoo LIBS=-lbar
And fix "% : %.c" target for SEPARATE
make: add PRELIBS and LIBS options similar to CPPFLAGS, CFLAGS, LDFLAGS
make CPPFLAGS=-DMY_FLAG CFLAGS=-Werror LDFLAGS=-Wl,--print-map PRELIBS=-lfoo LIBS=-lbar
And fix "% : %.c" target for SEPARATE_COMPILE_LINK to use "$(LOADLIBES) $(LDLIBS)" in the correct order
show more ...
|