summaryrefslogtreecommitdiff
path: root/tools/msgenc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/msgenc')
-rw-r--r--tools/msgenc/Makefile13
-rw-r--r--tools/msgenc/msgenc.c7
2 files changed, 20 insertions, 0 deletions
diff --git a/tools/msgenc/Makefile b/tools/msgenc/Makefile
new file mode 100644
index 00000000..da455633
--- /dev/null
+++ b/tools/msgenc/Makefile
@@ -0,0 +1,13 @@
+CC := gcc
+CFLAGS := -O2
+
+.PHONY: all clean
+
+all: msgenc
+ @:
+
+clean:
+ $(RM) msgenc msgenc.exe
+
+msgenc: msgenc.c
+ $(CC) $(CFLAGS) -o $@ $^
diff --git a/tools/msgenc/msgenc.c b/tools/msgenc/msgenc.c
new file mode 100644
index 00000000..f3d8ce5e
--- /dev/null
+++ b/tools/msgenc/msgenc.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main(int argc, char ** argv)
+{
+ printf("Hello, world!\n");
+ return 0;
+}