make, scripts: Re-add files necessary for building ytools

Re-add everthing needed for building and packaging ytools. This is a
big commit, 2002 lines of code. It mostly consists of C/C++ machinery,
plus some documentation-related stuff.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-14 15:59:49 +01:00
commit bf16c6714b
27 changed files with 1975 additions and 0 deletions

View file

@ -0,0 +1,8 @@
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