aboutsummaryrefslogtreecommitdiff
path: root/matlab/makefile
diff options
context:
space:
mode:
authorJohann Faerber <johann.faerber@hs-augsburg.de>2022-03-09 09:48:43 +0100
committerJohann Faerber <johann.faerber@hs-augsburg.de>2022-03-09 09:48:43 +0100
commita04bbf15b0f51696894e37f3e566998108aefd74 (patch)
tree35a36178bfb2fa257b0afcddaec29868f6e4fc77 /matlab/makefile
parentfd7c3d6c1352353f3ee2da9267308a51fd67315d (diff)
added basic design directory structure
Diffstat (limited to 'matlab/makefile')
-rw-r--r--matlab/makefile15
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 *~