-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (26 loc) · 799 Bytes
/
Makefile
File metadata and controls
34 lines (26 loc) · 799 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
TOOLS_PATH = "./tools/script/linux/install/"
DEPS_DIR = "./pf/dependencies/"
PLUGINS_DIR = "./pf/plugin/"
CUR_DIR = $(shell pwd)
simple: core plugins
cd $(CUR_DIR)
cd applications/pf_simple/proj.linux && cmake -Wno-dev ./ && make
cp pf/dll/*.so applications/bin/
cp pf/core/dll/*.so applications/bin/
cp pf/dependencies/dll/*.so applications/bin/
env:
cd $(CUR_DIR)
cd $(TOOLS_PATH) && bash install_environment.sh --full --sudo
deps:
cd $(CUR_DIR)
cd $(DEPS_DIR)iconv/proj.linux && cmake -Wno-dev ./ && make
cd $(CUR_DIR)
cd $(DEPS_DIR)lua/5.3.4/proj.linux && cmake -Wno-dev ./ && make
plugins:
cd $(CUR_DIR)
cd $(PLUGINS_DIR)lua/proj.linux && cmake -Wno-dev ./ && make
core: env deps
cd $(CUR_DIR)
cd pf/core/proj.linux && cmake -Wno-dev ./ && make
all: simple
linux: simple