summaryrefslogtreecommitdiff
path: root/digital/io/src/getsamples/Makefile.getsamples
diff options
context:
space:
mode:
authorNélio Laranjeiro2008-03-30 20:35:33 +0200
committerNélio Laranjeiro2008-03-30 20:35:33 +0200
commit6b1099c487e9d7be85d4fbd513f9e5236d0d10d4 (patch)
treea06b42732e981b7f894eeec6c9f84e0026823b74 /digital/io/src/getsamples/Makefile.getsamples
parent5b9ebaa7b9df3e9c2156bfc697f358b13ace8400 (diff)
Renamed the makefile and update the main.c in the test.
Diffstat (limited to 'digital/io/src/getsamples/Makefile.getsamples')
-rw-r--r--digital/io/src/getsamples/Makefile.getsamples23
1 files changed, 23 insertions, 0 deletions
diff --git a/digital/io/src/getsamples/Makefile.getsamples b/digital/io/src/getsamples/Makefile.getsamples
new file mode 100644
index 00000000..c59fdb64
--- /dev/null
+++ b/digital/io/src/getsamples/Makefile.getsamples
@@ -0,0 +1,23 @@
+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: getSamplesFsm.fsm getSamplesFsm.conf
+ make prgm
+ #if [ -f getsamples_cb.c ]; then vimdiff getsamples_cb.c getsamples_cb_skel.c; else mv getsamples_cb_skel.c getsamples_cb.c; fi;
+
+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