-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (28 loc) · 831 Bytes
/
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
# Slacker X11 Environment Workspace Makefile.
# Dispatches commands to all lower level Makefiles.
# Pure makefile based build system written from scratch.. come at me bro.
PROJECT_ROOT=$(shell pwd)
BUILD_DIR:=$(PROJECT_ROOT)/build
include make/canned_recipes.mk
include make/settings.mk
swm:
@$(MAKE) -C swm/ all BUILD_DIR=$(BUILD_DIR) CC=$(COMPILER) DEBUG=0
swm-dev: clean
@bear -- $(MAKE) -C swm/ all BUILD_DIR=$(BUILD_DIR) CC=$(COMPILER) DEBUG=1
swm-debug: clean
@bear -- $(MAKE) -C swm/ BUILD_DIR=$(BUILD_DIR) CC=$(COMPILER) DEBUG=1
@$(call _embed,swmd)
format:
@$(MAKE) -C swm/ format
init:
@$(call _init)
init-dev:
@$(call _init_dev)
install:
@$(call _install)
uninstall:
@$(call _uninstall)
clean:
@$(call _clean)
.PHONY: swm swm-dev swm-debug format init init-dev install uninstall clean
.ONESHELL: