vm_obj := $(vm_src:.c=.o)
util_obj := $(util_src:.c=.o)
GW_OBJ=${src_obj} ${ast_obj} ${parse_obj} ${emit_obj} ${oo_obj} ${vm_obj} ${util_obj} ${lib_obj}
+src=${src_src} ${ast_src} ${parse_src} ${emit_src} ${oo_src} ${vm_src} ${util_src} ${lib_src}
gwlib_obj := $(filter-out src/main.o, ${GW_OBJ})
CFLAGS += -Iinclude
--- /dev/null
+# Contributing translations
+
+First off, thank you for considering translating gwion.
+
+Thanks to the build system, you're gonna get on tracks fast.
+
+
+## 1) Init the translation language
+
+You have to make sure there is a directory for your target language (e.g.: fr, en, es_ES ...).
+
+``` sh
+make translation-init TRANSLATION_TARGET=<xxx>
+```
+
+Where `<xxx>` is your language of choice.
+It will fail if your language already exists, but this is not a problem.
+
+> You might want to export TRANSLATION_TARGET,
+so you don't have to set it on the command line
+
+## 2) Edit
+
+Next, you should adjust the translations.
+What about using your favorite editor?
+
+``` sh
+make translation-edit TRANSLATION_TARGET=<xxx>
+```
+
+## 3) Update
+
+Maybe the sources changed, and there is more message to translate?
+
+``` sh
+make translation-update
+```
+
+This will update all languages.
+You can now get back to [step 2](#2-Edit).
+
+## Add to VCS
+
+It's now time to add your changes to the package :smile:
+
+``` sh
+make translation-commit TRANSLATION_TARGET=<xxx>
+```
+
+Now please submit a pull request.