mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
Rename CFLAGS and friends to follow the conventions of the implicit rules defined by GNU Make: - $(CPPFLAGS) is passed to both C++ and C compiler - $(CXXFLAGS) is passed to C++ compiler only - $(CFLAGS) is passed to C compiler only - C++ compiler is in $(CXX) Signed-off-by: Jan Lindemann <jan@janware.com>
8 lines
271 B
Makefile
8 lines
271 B
Makefile
ifndef CPP_EXTRA_TARGETS_MK_INCLUDED
|
|
CPP_EXTRA_TARGETS_MK_INCLUDED = true
|
|
|
|
all:
|
|
expand-macros:
|
|
make 2>/dev/null | sed '/$(CC)\|$(CXX)/ !d; s/$(CC)\|$(CXX)//; s/-o .*//' | grep -v "Wl\|rdynamic" | xargs $(CXX) -E -C | indent
|
|
|
|
endif # ifndef CPP_EXTRA_TARGETS_MK_INCLUDED
|