summaryrefslogtreecommitdiff
path: root/llbuild/README
blob: 46f44f4ef1e2c831270c14ee461d40cbae7e0e11 (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
llbuild guide
*************

Let's assume you have following directory structure:

project/
	include/
	src/
	src/subsystem1
	src/sybsystem2


* install the llbuild directory to project/llbuild
* copy project/llbuild/Makefile.toplevel-sample to project/Makefile
* create subdir Makefiles like this:

project/src/Makefile:

obj-builtin = subsystem1 subsystem2


project/src/subsystem1/Makefile:

obj-builtin = file1.o file2.o file3.o


project/src/subsystem2/Makefile:

obj-builtin = file3.o file4.o


* Edit the target name in the toplevel Makefile to suit your needs, for example:

project/Makefile:

bin-project = src
extra_targets = bin-project