diff options
Diffstat (limited to 'matlab/makefile')
-rw-r--r-- | matlab/makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/matlab/makefile b/matlab/makefile new file mode 100644 index 0000000..2832597 --- /dev/null +++ b/matlab/makefile @@ -0,0 +1,15 @@ +################################################################### +# Main Targets +################################################################### + +help: + @echo '"make" does intentionally nothing. Type:' + @echo ' "make hdl" - create vhdl files from matlab simulink model' + @echo ' "make clean" - to remove all generated files' + +hdl: $(PROJECT).slx + # create hdl from matlab + matlab -nodisplay -nosplash -nodesktop -r "$(PROJECT); makehdl('$(TOPLEVEL)') ;exit;" + +clean: + rm -rf hdl_prj slprj *~ |