aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: cad47ab1026ad77f850127d8ed655af3b138326f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)