From 6b1099c487e9d7be85d4fbd513f9e5236d0d10d4 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Sun, 30 Mar 2008 20:35:33 +0200 Subject: Renamed the makefile and update the main.c in the test. --- digital/io/src/getsamples/Makefile.getsamples | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 digital/io/src/getsamples/Makefile.getsamples (limited to 'digital/io/src/getsamples/Makefile.getsamples') 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 -- cgit v1.2.3