Revision 21
Added two lines to the default Makefile that checks for a predefined COLONYROOT variable.
I suggest everyone defines a global as the ../../.. is undependable.
trunk/code/projects/template/Makefile | ||
---|---|---|
3 | 3 |
# |
4 | 4 |
|
5 | 5 |
# Relative path to the root directory (containing lib directory) |
6 |
ifndef COLONYROOT |
|
6 | 7 |
COLONYROOT = ../../.. |
8 |
endif |
|
7 | 9 |
|
8 | 10 |
# Target file name (without extension). |
9 | 11 |
TARGET = template |
Also available in: Unified diff