citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 6e852b6ac574dbb308c8a6a01c5fa987cfb7168c
parent e2fc4a09a51d67febcf64774d1fdd68c0526cad3
Author: Kyle Milz <milz@imac.0x30.net>
Date:   Wed,  3 Mar 2021 22:03:03 -0800

include: create citrun_h.h better

Diffstat:
Minclude/Makefile | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/Makefile b/include/Makefile @@ -1,7 +1,12 @@ all: citrun_h.h citrun_h.h: citrun.h - echo "static const char *$* = R\"(`cat ${.CURDIR}/citrun.h`)\"" > ${.CURDIR}/$@ + echo "static const char *$* = R\"(" > ${.CURDIR}/$@ + cat ${.CURDIR}/citrun.h >> ${.CURDIR}/$@ + echo ")\";" >> ${.CURDIR}/$@ + +clean: + rm -f citrun_h.h .include "../Makefile.in"