-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
63 lines (46 loc) · 1.14 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
SHELL = /bin/sh
override self := $(firstword $(MAKEFILE_LIST))
.DEFAULT_GOAL := all
.EXTRA_PREREQS := $(MAKEFILE_LIST)
nix.run.nixgl := nix run --inputs-from . github:guibou/nixGL
.PHONY: all
all: @os/linux
.PHONY: install
install:
$(MAKE) -f Desktop.mk @install
.PHONY: uninstall
uninstall:
$(MAKE) -f Desktop.mk @uninstall
.PHONY: @os/linux
@os/linux:
$(MAKE) -f Desktop.mk @build/release
.PHONY: @os/emscripten
@os/emscripten:
$(MAKE) -f Web.mk @build/release
.PHONY: @zig/build
@zig/build:
$(MAKE) -f Desktop.mk @zig/build
.PHONY: @zig/run
@zig/run:
$(MAKE) -f Desktop.mk @zig/run
.PHONY: @dev
@dev:
$(MAKE) -f Desktop.mk @dev
.PHONY: @dev/nixgl/intel
@dev/nixgl/intel:
$(nix.run.nixgl)\#nixGLIntel -- $(MAKE) -f Desktop.mk @dev
.PHONY: @dev/nixgl/nvidia
@dev/nixgl/nvidia:
$(nix.run.nixgl)\#nixGLNvidia -- $(MAKE) -f Desktop.mk @dev
.PHONY: @dev/nixgl/nvidia/bumblebee
@dev/nixgl/nvidia/bumblebee:
$(nix.run.nixgl)\#nixGLNvidiaBumblebee -- $(MAKE) -f Desktop.mk @dev
.PHONY: @test
@test:
$(MAKE) -f Test.mk @test
.PHONY: @format
@format:
nu -c "use scripts/ci.nu; ci format"
.PHONY: @lint
@lint:
nu -c "use scripts/ci.nu; ci lint"