mirror of
https://github.com/RobotechLille/cdf2018-principal
synced 2024-11-23 16:46:04 +01:00
16 lines
242 B
Bash
Executable file
16 lines
242 B
Bash
Executable file
#!/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
|
|
|