summaryrefslogtreecommitdiff
path: root/digital/io/src/Makefile.getsamples
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/Makefile.getsamples')
-rw-r--r--digital/io/src/Makefile.getsamples21
1 files changed, 21 insertions, 0 deletions
diff --git a/digital/io/src/Makefile.getsamples b/digital/io/src/Makefile.getsamples
new file mode 100644
index 00000000..9e3287f4
--- /dev/null
+++ b/digital/io/src/Makefile.getsamples
@@ -0,0 +1,21 @@
+CFLAGS = -O2 -Wall
+
+all: prgm exe dot png
+
+prgm: getSamplesFsm.fsm getSamplesFsm.conf
+ python ../../../tools/dfagen/dfagen.py -o c -d $< -c getSamplesFsm.conf -p getsamples
+
+exe: prgm
+
+dot: getSamplesFsm.fsm getSamplesFsm.conf
+ python ../../../tools/dfagen/dfagen.py -o dot -d $< -c getSamplesFsm.conf -p getsamples
+
+png: getsamples.dot
+ dot -Tpng -o getsamples.png getsamples.dot
+
+clean:
+ rm -f getsamples.h
+ rm -f getsamples_cb.h
+ rm -f getsamples.dot
+ rm -f getsamples.png
+ rm -f getsamples.c