@echo off
REM This is a template to organize the Header2Reflection-call using the zmake shell.

REM Note: The execution of generation depends on the timestamps of source and destination files. 
REM Therefore delete the result before execution if a test should be done.
call del_results.bat

REM The temp-dir for zmake can be set with the following environment variable, the path may be absolute or relative:
::set TMP_ZBNFJAX=tmp
set TMP_ZBNFJAX=D:\tmp\testHeader2Reflection

REM invoke zmake calling the next line. The argument after zmake should be this file itself!
call zbnfjax zmake genReflection_zmake_template.bat

pause
exit /B %ERRORLEVEL%

REM The batch process is ended here. After the keyword in the following line, the zmake-rules are following. 
REM The rule to generate reflection is the only one here in this example. Other zmake-rules are able to write there too! 


ZMAKE_RULES:

gen_src/Reflection_Test.c   := Cheader2Reflection(src/*.h);
