mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-18 04:53:57 +01:00
make: Add multiple inclusion preventers around makefile rules
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a8b958b7cf
commit
4d8ff72147
4 changed files with 16 additions and 1 deletions
|
|
@ -1,4 +1,8 @@
|
|||
ifndef CPP_EXTRA_TARGETS_MK_INCLUDED
|
||||
CPP_EXTRA_TARGETS_MK_INCLUDED = true
|
||||
|
||||
all:
|
||||
expand-macros:
|
||||
make 2>/dev/null | sed '/$(CC)\|$(CPP)/ !d; s/$(CC)\|$(CPP)//; s/-o .*//' | grep -v "Wl\|rdynamic" | xargs $(CPP) -E -C | indent
|
||||
|
||||
endif # ifndef CPP_EXTRA_TARGETS_MK_INCLUDED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue