summaryrefslogtreecommitdiffstats
path: root/statgen/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'statgen/Makefile.am')
-rw-r--r--statgen/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/statgen/Makefile.am b/statgen/Makefile.am
new file mode 100644
index 0000000..c2e2a82
--- /dev/null
+++ b/statgen/Makefile.am
@@ -0,0 +1,18 @@
+bin_PROGRAMS= generate ascii upper
+generate_SOURCES= generate.c
+generate_LDADD= -lm
+ascii_SOURCES= ascii.c
+upper_SOURCES= upper.c
+
+EXTRA_DIST= doit
+
+table.tmp.h: dragons.txt
+ ./doit dragons.txt
+
+tests: table.tmp.h
+ cat ../src/librcd.c | sed -e "s|russian_table|table.tmp|;s|librcd\.h|../src/librcd.h|" > librcd.tmp.c
+ gcc -o test test.c
+ gcc -o debug debug.c
+
+clean-local:
+ -rm -f *.tmp.[ch] test debug