-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
76 lines (58 loc) · 1.59 KB
/
Makefile
File metadata and controls
76 lines (58 loc) · 1.59 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Alternative GNU Make workspace makefile autogenerated by Premake
ifndef config
config=debug_macos64
endif
ifndef verbose
SILENT = @
endif
ifeq ($(config),debug_macos64)
pixie_config = debug_macos64
else ifeq ($(config),debug_linux64)
pixie_config = debug_linux64
else ifeq ($(config),debug_windows64)
pixie_config = debug_windows64
else ifeq ($(config),test_macos64)
pixie_config = test_macos64
else ifeq ($(config),test_linux64)
pixie_config = test_linux64
else ifeq ($(config),test_windows64)
pixie_config = test_windows64
else ifeq ($(config),release_macos64)
pixie_config = release_macos64
else ifeq ($(config),release_linux64)
pixie_config = release_linux64
else ifeq ($(config),release_windows64)
pixie_config = release_windows64
else
$(error "invalid configuration $(config)")
endif
PROJECTS := pixie
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
pixie:
ifneq (,$(pixie_config))
@echo "==== Building pixie ($(pixie_config)) ===="
@${MAKE} --no-print-directory -C . -f pixie.make config=$(pixie_config)
endif
clean:
@${MAKE} --no-print-directory -C . -f pixie.make clean
help:
@echo "Usage: make [config=name] [target]"
@echo ""
@echo "CONFIGURATIONS:"
@echo " debug_macos64"
@echo " debug_linux64"
@echo " debug_windows64"
@echo " test_macos64"
@echo " test_linux64"
@echo " test_windows64"
@echo " release_macos64"
@echo " release_linux64"
@echo " release_windows64"
@echo ""
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
@echo " pixie"
@echo ""
@echo "For more information, see https://github.com/premake/premake-core/wiki"