Debian Codegraph @

Makefile

raw
1 # GNU Make workspace makefile autogenerated by Premake
2
3 ifndef config
4 config=release
5 endif
6
7 ifndef verbose
8 SILENT = @
9 endif
10
11 ifeq ($(config),release)
12 guetzli_config = release
13 endif
14 ifeq ($(config),debug)
15 guetzli_config = debug
16 endif
17
18 PROJECTS := guetzli
19
20 .PHONY: all clean help $(PROJECTS)
21
22 all: $(PROJECTS)
23
24 guetzli:
25 ifneq (,$(guetzli_config))
26 @echo "==== Building guetzli ($(guetzli_config)) ===="
27 @${MAKE} --no-print-directory -C . -f guetzli.make config=$(guetzli_config)
28 endif
29
30 clean:
31 @${MAKE} --no-print-directory -C . -f guetzli.make clean
32
33 help:
34 @echo "Usage: make [config=name] [target]"
35 @echo ""
36 @echo "CONFIGURATIONS:"
37 @echo " release"
38 @echo " debug"
39 @echo ""
40 @echo "TARGETS:"
41 @echo " all (default)"
42 @echo " clean"
43 @echo " guetzli"
44 @echo ""
45 @echo "For more information, see http://industriousone.com/premake/quick-start"