-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
57 lines (46 loc) · 1.4 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
# GNU Make solution makefile autogenerated by Premake
# Type "make help" for usage help
ifndef config
config=debug
endif
export config
PROJECTS := td1 td1_corrected td2_forward td2_forward_corrected td2_deferred td2_deferred_corrected td3 glfw glew stb_image
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
td3: glfw glew stb_image
@echo "==== Building td3 ($(config)) ===="
@${MAKE} --no-print-directory -C . -f td3.make
glfw:
@echo "==== Building glfw ($(config)) ===="
@${MAKE} --no-print-directory -C . -f glfw.make
glew:
@echo "==== Building glew ($(config)) ===="
@${MAKE} --no-print-directory -C . -f glew.make
stb_image:
@echo "==== Building stb_image ($(config)) ===="
@${MAKE} --no-print-directory -C . -f stb_image.make
clean:
@${MAKE} --no-print-directory -C . -f td3.make clean
@${MAKE} --no-print-directory -C . -f glfw.make clean
@${MAKE} --no-print-directory -C . -f glew.make clean
@${MAKE} --no-print-directory -C . -f stb_image.make clean
help:
@echo "Usage: make [config=name] [target]"
@echo ""
@echo "CONFIGURATIONS:"
@echo " debug"
@echo " release"
@echo " debug64"
@echo " release64"
@echo " debug32"
@echo " release32"
@echo ""
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
@echo " td3"
@echo " glfw"
@echo " glew"
@echo " stb_image"
@echo ""
@echo "For more information, see http://industriousone.com/premake/quick-start"