-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 765 Bytes
/
Makefile
File metadata and controls
22 lines (17 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
hypcast-server: go.mod go.sum $(shell find . -name '*.go') client/dist
go build -v -tags embedclient ./cmd/hypcast-server
client/dist: client/node_modules client/tsconfig.json client/tsconfig.node.json client/vite.config.ts $(shell find client/src -type f)
rm -rf client/dist
cd client && npm run build
client/node_modules: client/package.json client/package-lock.json
cd client && npm install
touch client/node_modules
install: hypcast-server
go install -v -tags embedclient ./cmd/hypcast-server
clean:
$(MAKE) -C client clean
rm -rf ./hypcast-server
# Configure clangd to resolve dependencies for C files in the project.
.PHONY: compile_flags.txt
compile_flags.txt:
pkg-config --cflags gstreamer-1.0 | tr ' ' '\n' | sed '/^$$/d' > compile_flags.txt