-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
34 lines (26 loc) · 679 Bytes
/
Copy pathmakefile
File metadata and controls
34 lines (26 loc) · 679 Bytes
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
LIBDIR:=lib
CORE_LIBDIR:=$(LIBDIR)/core_libs
DER_LIBDIR:=$(LIBDIR)/derived_libs
EXTRA_LIBDIR:=$(LIBDIR)/extra_libs
BUILD_DIR:=_build
SRC_DIR:=src
all: pre-build libs main-build
pre-build:
mkdir -p $(BUILD_DIR)
mkdir -p $(BUILD_DIR)/.lib
libs:
$(MAKE) -C $(CORE_LIBDIR)
$(MAKE) -C $(CORE_LIBDIR) install
$(MAKE) -C $(DER_LIBDIR)
$(MAKE) -C $(DER_LIBDIR) install
$(MAKE) -C $(EXTRA_LIBDIR)
$(MAKE) -C $(EXTRA_LIBDIR) install
main-build:
$(MAKE) -C $(SRC_DIR)
$(MAKE) -C $(SRC_DIR) install
clean:
$(MAKE) -C $(CORE_LIBDIR) clean
$(MAKE) -C $(DER_LIBDIR) clean
$(MAKE) -C $(EXTRA_LIBDIR) clean
$(MAKE) -C $(SRC_DIR) clean
.PHONY: all pre-build libs clean