aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-06-28 23:59:50 +0200
committerlonkaars <loek@pipeframe.xyz>2023-06-28 23:59:50 +0200
commit67dbb6421976254658c5e38045513129dd18187a (patch)
tree288b599d1097b26bdbcad3b6749b38e133017cf2 /makefile
initial public commit
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)
+