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
commit7001792f10cb17d88ed2d4c58364b6304bbd0816 (patch)
tree65689bf82f97be5834d5d2e570cbad92e5f373f6 /creg/Makefile.am
parentb56da6f08c4f59b562a102671ac3deb135b0538a (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
+