2022-10-10
Note:
This is a "quick how-to".
The instructions are subjectively reduced to a minimum, to keep focus and clarity.
unzip -o __ARCHIVE__.zip
OR
7z x -y __ARCHIVE__.zip
(optional) Verify the checksums against the official checksum values.
Do not use checksums from unknown sources.
(optional) On Linux: chmod +x bin/*
or chmod u+x bin/*
.
The --help
command line argument can be used.
For a quick-start with basic rules, download and unpack the sample project archive spt-gen-txt-1-20-30
.
Jake uses only the rules written in a jake file. It does not know what is a compiler, neither a linker.
Open a console in one of the directories, then run:
jake
The Makefile(s) are following make and Jake sytax. You can rename each "Makefile" to "jake.jake" if you like.
These Jake files were created for demo purposes. The sub-project dependencies are minimal, one-way.
For a quick-start with a build, download and unpack Abc
and sample project archive SPT_with_conf
.
Open a console in sptDir_Sample_ProjTree
, then run:
abc --gen-jake
jake
The generated 'jake' files can be used as examples.
Alternatively,
if "make" is also available and your IDE uses automatically the Makefile,
you can build from the IDE.
The real build is made in the second step with Jake.
abc --gen-jake-make
# now build from the IDE
# or build from the command-line
make
Enjoy.