-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
62 lines (48 loc) · 1.49 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
56
57
58
59
60
61
62
# ---------------------------------------------------------------------------
# Definitions
# ---------------------------------------------------------------------------
include Config.mk
ifndef $(OPT)
OPT = release
endif
# ---------------------------------------------------------------------------
# Targets
# ---------------------------------------------------------------------------
all: $(OPT)
release:
$(MAKE) -C dlls OPT=release DLLTYPE=mm
$(MAKE) -C dlls OPT=release DLLTYPE=std
debug:
$(MAKE) -C dlls OPT=debug DLLTYPE=mm
$(MAKE) -C dlls OPT=debug DLLTYPE=std
release_install:
$(MAKE) -C dlls install OPT=release DLLTYPE=mm
$(MAKE) -C dlls install OPT=release DLLTYPE=std
debug_install:
$(MAKE) -C dlls install OPT=debug DLLTYPE=mm
$(MAKE) -C dlls install OPT=debug DLLTYPE=std
release_clean:
$(MAKE) clean OPT=release DLLTYPE=mm
$(MAKE) clean OPT=release DLLTYPE=std
debug_clean:
$(MAKE) clean OPT=debug DLLTYPE=mm
$(MAKE) clean OPT=debug DLLTYPE=std
release_rebuild:
$(MAKE) rebuild OPT=debug DLLTYPE=mm
$(MAKE) rebuild OPT=debug DLLTYPE=std
debug_rebuild:
$(MAKE) rebuild OPT=debug DLLTYPE=mm
$(MAKE) rebuild OPT=debug DLLTYPE=std
install: $(OPT)
$(MAKE) -C dlls $@
clean:
$(MAKE) -C dlls $@
$(MAKE) -C NNSim $@
$(MAKE) -C NNSim/som $@
rebuild:
$(MAKE) -C dlls $@
$(MAKE) -C NNSim $@
$(MAKE) -C NNSim/som $@
# ---------------------------------------------------------------------------
# Rules
# ---------------------------------------------------------------------------