-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
60 lines (46 loc) · 1.21 KB
/
Makefile
File metadata and controls
60 lines (46 loc) · 1.21 KB
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
# Alternative GNU Make workspace makefile autogenerated by Premake
ifndef config
config=ci
endif
ifndef verbose
SILENT = @
endif
ifeq ($(config),ci)
covbr2html_config = ci
else ifeq ($(config),trace_on)
covbr2html_config = trace_on
else ifeq ($(config),trace_all)
covbr2html_config = trace_all
else ifeq ($(config),glob_linux)
covbr2html_config = glob_linux
else ifeq ($(config),glob_linux_trace_all)
covbr2html_config = glob_linux_trace_all
else
$(error "invalid configuration $(config)")
endif
PROJECTS := covbr2html
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
covbr2html:
ifneq (,$(covbr2html_config))
@echo "==== Building covbr2html ($(covbr2html_config)) ===="
@${MAKE} --no-print-directory -C . -f covbr2html.make config=$(covbr2html_config)
endif
clean:
@${MAKE} --no-print-directory -C . -f covbr2html.make clean
help:
@echo "Usage: make [config=name] [target]"
@echo ""
@echo "CONFIGURATIONS:"
@echo " ci"
@echo " trace_on"
@echo " trace_all"
@echo " glob_linux"
@echo " glob_linux_trace_all"
@echo ""
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
@echo " covbr2html"
@echo ""
@echo "For more information, see https://github.com/premake/premake-core/wiki"