-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (37 loc) · 1.12 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
# GNU Make solution makefile autogenerated by Premake
# Type "make help" for usage help
ifndef config
config=debug
endif
export config
PROJECTS := cs488-framework imgui lodepng
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
cs488-framework:
@echo "==== Building cs488-framework ($(config)) ===="
@${MAKE} --no-print-directory -C build -f cs488-framework.make
imgui:
@echo "==== Building imgui ($(config)) ===="
@${MAKE} --no-print-directory -C build -f imgui.make
lodepng:
@echo "==== Building lodepng ($(config)) ===="
@${MAKE} --no-print-directory -C build -f lodepng.make
clean:
@${MAKE} --no-print-directory -C build -f cs488-framework.make clean
@${MAKE} --no-print-directory -C build -f imgui.make clean
@${MAKE} --no-print-directory -C build -f lodepng.make clean
help:
@echo "Usage: make [config=name] [target]"
@echo ""
@echo "CONFIGURATIONS:"
@echo " debug"
@echo " release"
@echo ""
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
@echo " cs488-framework"
@echo " imgui"
@echo " lodepng"
@echo ""
@echo "For more information, see http://industriousone.com/premake/quick-start"