summaryrefslogtreecommitdiff
path: root/tools/msgenc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-06-19 22:26:26 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-06-19 22:26:26 -0400
commitb138e415a2c6b4e42a08e776cd482d91d50bbc2a (patch)
tree096a3e9dfc9e5c3a5a04ee2822298eed07ac3834 /tools/msgenc
parent669fafdcf6929def1bdc82805f57daa0b75c245e (diff)
Finish msgdata.c
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;
+}