forked from sumatrapdfreader/sumatrapdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
75 lines (63 loc) · 1.82 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
63
64
65
66
67
68
69
70
71
72
73
74
75
# GNU Make workspace makefile autogenerated by Premake
ifndef config
config=debug_x64
endif
ifndef verbose
SILENT = @
endif
ifeq ($(config),debug_x64)
unarrlib_config = debug_x64
zlib_config = debug_x64
unarr_config = debug_x64
test_unix_config = debug_x64
endif
ifeq ($(config),release_x64)
unarrlib_config = release_x64
zlib_config = release_x64
unarr_config = release_x64
test_unix_config = release_x64
endif
PROJECTS := unarrlib zlib unarr test_unix
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
unarrlib:
ifneq (,$(unarrlib_config))
@echo "==== Building unarrlib ($(unarrlib_config)) ===="
@${MAKE} --no-print-directory -C . -f unarrlib.make config=$(unarrlib_config)
endif
zlib:
ifneq (,$(zlib_config))
@echo "==== Building zlib ($(zlib_config)) ===="
@${MAKE} --no-print-directory -C . -f zlib.make config=$(zlib_config)
endif
unarr: unarrlib zlib
ifneq (,$(unarr_config))
@echo "==== Building unarr ($(unarr_config)) ===="
@${MAKE} --no-print-directory -C . -f unarr.make config=$(unarr_config)
endif
test_unix: unarrlib zlib
ifneq (,$(test_unix_config))
@echo "==== Building test_unix ($(test_unix_config)) ===="
@${MAKE} --no-print-directory -C . -f test_unix.make config=$(test_unix_config)
endif
clean:
@${MAKE} --no-print-directory -C . -f unarrlib.make clean
@${MAKE} --no-print-directory -C . -f zlib.make clean
@${MAKE} --no-print-directory -C . -f unarr.make clean
@${MAKE} --no-print-directory -C . -f test_unix.make clean
help:
@echo "Usage: make [config=name] [target]"
@echo ""
@echo "CONFIGURATIONS:"
@echo " debug_x64"
@echo " release_x64"
@echo ""
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
@echo " unarrlib"
@echo " zlib"
@echo " unarr"
@echo " test_unix"
@echo ""
@echo "For more information, see http://industriousone.com/premake/quick-start"