r3.sh
gcc R_03_01.c R_03_02.c R_03_support.c R_03_system.c -o R3.exe
R_03_system.c
/*
* Release: 2016-01-01
*
* Example from MISRA C:2012 ( THIS IS NOT A TEST SUITE )
*
* Copyright HORIBA MIRA Limited.
*
* See file READ_ME.txt for full copyright, license and release instructions.
*/
#include "misrac2012.h"
#include "mc3_types.h"
#include "mc3_header.h"
char * msg = "R3 misrac2012\n";
int main ( void )
{
R_3_1 ( );
R_3_2 ( );
R_3_main_support ( );
PR1(msg,s);
return EXIT_SUCCESS;
}
/* end of R_03_system.c */
# chmod +x r3.sh
# ./r3.sh
# ./r3.exe
msg = R3 misrac2012