summaryrefslogtreecommitdiff
path: root/creg/Makefile.am
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-05-13 17:09:34 -0700
committerChris Dyer <cdyer@cs.cmu.edu>2012-05-13 17:09:34 -0700
commita937d645257f0949e138f3548fd0a2b65ea8aa11 (patch)
treead46b2f3c24ad8f3fab3cd8b7971e646552e1a17 /creg/Makefile.am
parent69b0bf8d618338c82fda17878defff77fb35a69f (diff)
put creg in its own top-level folder
Diffstat (limited to 'creg/Makefile.am')
-rw-r--r--creg/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/creg/Makefile.am b/creg/Makefile.am
new file mode 100644
index 00000000..9e25b838
--- /dev/null
+++ b/creg/Makefile.am
@@ -0,0 +1,11 @@
+bin_PROGRAMS = \
+ creg
+
+creg_SOURCES = creg.cc json_feature_map_lexer.cc
+creg_LDADD = $(top_srcdir)/training/liblbfgs/liblbfgs.a $(top_srcdir)/utils/libutils.a -lz
+
+json_feature_map_lexer.cc: json_feature_map_lexer.ll
+ $(LEX) -s -8 -CF -o$@ $<
+
+AM_CPPFLAGS = -W -Wall -DNDEBUG -I$(top_srcdir)/utils -I$(top_srcdir)/training
+