summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Dumb.c11
-rw-r--r--src/Makefile.am12
2 files changed, 23 insertions, 0 deletions
diff --git a/src/Dumb.c b/src/Dumb.c
new file mode 100644
index 0000000..214f749
--- /dev/null
+++ b/src/Dumb.c
@@ -0,0 +1,11 @@
+#include "Dumb.h"
+#include "config.h"
+
+int main(int argc, char ** argv) {
+ setlocale(LC_ALL, "");
+ bindtextdomain(PACKAGE, LOCALEDIR);
+ textdomain(PACKAGE);
+
+ Dumb();
+ exit(0);
+}
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..f69b766
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,12 @@
+localedir = $(datadir)/locale
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+AM_CFLAGS = -O3 -Wall -Wstrict-prototypes $(CFLAGS)
+INCLUDES = -I. -I.. -I$(includedir) -I../include
+
+bin_PROGRAMS = Dumb
+
+Dumb_SOURCES = Dumb.c
+
+LDADD = ../lib/libDumb.la
+
+Dumb_LDADD = $(LDADD)