aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..cad47ab
--- /dev/null
+++ b/makefile
@@ -0,0 +1,22 @@
+TARGET = yomikun
+
+SRCS += ./main.ts
+SRCS += ./core/yomikun.ts
+SRCS += ./db/db.ts
+SRCS += ./language/tags.ts
+SRCS += ./language/translator.ts
+SRCS += ./language/types.ts
+SRCS += ./util/array.ts
+SRCS += ./util/error.ts
+SRCS += ./util/string.ts
+
+DENO_FLAGS += --unstable
+DENO_FLAGS += --allow-ffi
+DENO_FLAGS += --allow-env
+DENO_FLAGS += --allow-read
+DENO_FLAGS += --allow-write
+DENO_FLAGS += --allow-net
+
+$(TARGET): $(SRCS)
+ deno compile --output $@ $< $(DENO_FLAGS)
+