-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
56 lines (37 loc) · 1.07 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
BUILD_DIR := build
BINARY_DIR := src/
LIB_DIR := Appman/
MISC_DIR := misc
export RCKTL_INSTALL_LIB_DIR=/usr/lib/rapidlauncher
export RCKTL_INSTALL_BIN_DIR=/usr/bin
export RCKTL_INSTALL_ICON_DIR=/usr/share/icons/hicolor
export RCKTL_INSTALL_DESKTOPFILE_DIR=/usr/share/applications
export RCKTL_DIR=../$(BUILD_DIR)
export RCKTL_BUILD_DEBUG
export RCKTL_BUILD_RELEASE
export RCKTL_FEATURE_APPINDICATOR
.PHONY: all clean install uninstall
@#
all: .LIBRARY .BINARY .MISC
@#
clean:
@$(MAKE) clean -C "$(BINARY_DIR)"
@$(MAKE) clean -C "$(LIB_DIR)"
@$(MAKE) clean -C "$(MISC_DIR)"
install:
@$(MAKE) install -C "$(BINARY_DIR)"
@$(MAKE) install -C "$(LIB_DIR)"
@$(MAKE) install -C "$(MISC_DIR)"
uninstall:
@$(MAKE) uninstall -C "$(BINARY_DIR)"
@$(MAKE) uninstall -C "$(LIB_DIR)"
@$(MAKE) uninstall -C "$(MISC_DIR)"
-rmdir "$(DESTDIR)$(RCKTL_INSTALL_LIB_DIR)"
$(BUILD_DIR):
mkdir --parents "$(BUILD_DIR)"
.BINARY: $(BUILD_DIR) .LIBRARY
@$(MAKE) -C "$(BINARY_DIR)"
.LIBRARY: $(BUILD_DIR)
@$(MAKE) -C "$(LIB_DIR)"
.MISC: $(BUILD_DIR)
@$(MAKE) -C "$(MISC_DIR)"