1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-05-18 13:06:00 +02:00
cdf2018-principal/simu/mat2h.sh

16 lines
242 B
Bash
Raw Normal View History

2018-05-06 18:34:56 +02:00
#!/usr/bin/env bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
FILE="../chef/src/dimensions.h"
echo -e "#ifndef __DIMENSIONS_H__
#define __DIMENSIONS_H__
#include <math.h>" > $FILE
cat simu.m | ./mat2h.py >> $FILE
echo -e "#endif" >> $FILE