Welcome to mirror list, hosted at ThFree Co, Russian Federation.

example.make « gmake « build - github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 64e5bc7f1fa4c547a1daa5255163af6ca17a27ab (plain)
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
# GNU Make solution makefile autogenerated by Premake
# Type "make help" for usage help

ifndef config
  config=debug32
endif
export config

PROJECTS := condense pretty prettyauto tutorial serialize

.PHONY: all clean help $(PROJECTS)

all: $(PROJECTS)

condense: 
	@echo "==== Building condense ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f condense.make

pretty: 
	@echo "==== Building pretty ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f pretty.make

prettyauto: 
	@echo "==== Building prettyauto ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f prettyauto.make

tutorial: 
	@echo "==== Building tutorial ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f tutorial.make

serialize: 
	@echo "==== Building serialize ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f serialize.make

clean:
	@${MAKE} --no-print-directory -C . -f condense.make clean
	@${MAKE} --no-print-directory -C . -f pretty.make clean
	@${MAKE} --no-print-directory -C . -f prettyauto.make clean
	@${MAKE} --no-print-directory -C . -f tutorial.make clean
	@${MAKE} --no-print-directory -C . -f serialize.make clean

help:
	@echo "Usage: make [config=name] [target]"
	@echo ""
	@echo "CONFIGURATIONS:"
	@echo "   debug32"
	@echo "   release32"
	@echo "   debug64"
	@echo "   release64"
	@echo ""
	@echo "TARGETS:"
	@echo "   all (default)"
	@echo "   clean"
	@echo "   condense"
	@echo "   pretty"
	@echo "   prettyauto"
	@echo "   tutorial"
	@echo "   serialize"
	@echo ""
	@echo "For more information, see http://industriousone.com/premake/quick-start"