-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile.in
46 lines (34 loc) · 929 Bytes
/
Makefile.in
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
export POOLSIM := $(SELF_DIR)/build/poolsim
export LIBPOOLSIM := $(SELF_DIR)/build/libpoolsim.so
export CXX := g++
export CXXFLAGS := -std=c++11 -Wall -fPIC -I$(SELF_DIR)/libpoolsim -I$(SELF_DIR)/vendor -L$(SELF_DIR)/build $(EXTRA_CXXFLAGS)
export LDFLAGS := -pthread $(EXTRA_LDFLAGS)
all: $(POOLSIM)
$(POOLSIM): $(LIBPOOLSIM)
$(MAKE) -C poolsim
$(LIBPOOLSIM): deps
$(MAKE) -C libpoolsim
install:
$(MAKE) -C libpoolsim install
$(MAKE) -C poolsim install
$(MAKE) -C vendor install
uninstall:
$(MAKE) -C libpoolsim uninstall
$(MAKE) -C poolsim uninstall
$(MAKE) -C vendor uninstall
force_uninstall:
$(MAKE) -C vendor force_uninstall
deps:
$(MAKE) -C vendor
test: $(LIBPOOLSIM)
$(MAKE) -C tests
clean_deps:
rm -rf $(DEPS)
clean:
$(MAKE) clean -C libpoolsim
$(MAKE) clean -C poolsim
$(MAKE) clean -C tests
distclean: clean
$(MAKE) clean -C vendor
rm Makefile
.PHONY: clean $(POOLSIM) $(LIBPOOLSIM) test