Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / solution / Makefile
blob: e1ea347e7ff66365ced28a752336b78fd99c4b42 (plain) (blame)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# GNU Make solution makefile autogenerated by GENie
# Type "make help" for usage help

ifndef config
  config=debug32
endif
export config

PROJECTS := JSImpl JSLib Test dummy_gc gmock gtest gtest_main leak_gc spasm spasm_lib sprt sprun test_bench

.PHONY: all clean help $(PROJECTS)

all: $(PROJECTS)

Test: sprt spasm_lib JSLib gtest gmock gtest_main
	@echo "==== Building Test ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f Test.make

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

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

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

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

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

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

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

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

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

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

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

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

clean:
	@${MAKE} --no-print-directory -C . -f Test.make clean
	@${MAKE} --no-print-directory -C . -f gtest.make clean
	@${MAKE} --no-print-directory -C . -f gmock.make clean
	@${MAKE} --no-print-directory -C . -f gtest_main.make clean
	@${MAKE} --no-print-directory -C . -f JSLib.make clean
	@${MAKE} --no-print-directory -C . -f JSImpl.make clean
	@${MAKE} --no-print-directory -C . -f sprt.make clean
	@${MAKE} --no-print-directory -C . -f spasm_lib.make clean
	@${MAKE} --no-print-directory -C . -f spasm.make clean
	@${MAKE} --no-print-directory -C . -f sprun.make clean
	@${MAKE} --no-print-directory -C . -f test_bench.make clean
	@${MAKE} --no-print-directory -C . -f leak_gc.make clean
	@${MAKE} --no-print-directory -C . -f dummy_gc.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 "   Test"
	@echo "   gtest"
	@echo "   gmock"
	@echo "   gtest_main"
	@echo "   JSLib"
	@echo "   JSImpl"
	@echo "   sprt"
	@echo "   spasm_lib"
	@echo "   spasm"
	@echo "   sprun"
	@echo "   test_bench"
	@echo "   leak_gc"
	@echo "   dummy_gc"
	@echo ""
	@echo "For more information, see https://github.com/bkaradzic/genie"