Mercurial > hg > beaglert
comparison Makefile @ 265:4989afa8e994 prerelease
Fixed indentation
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 16 May 2016 16:26:38 +0100 |
parents | afdddd5f189f |
children | 247a182adb6d |
comparison
equal
deleted
inserted
replaced
264:60ccd1fe5a58 | 265:4989afa8e994 |
---|---|
7 # and not for cross-compiling | 7 # and not for cross-compiling |
8 | 8 |
9 # set the project to be compiled by calling: make all PROJECT=<project_name> | 9 # set the project to be compiled by calling: make all PROJECT=<project_name> |
10 | 10 |
11 # if the PROJECT variable is not set, throw an error and exit | 11 # if the PROJECT variable is not set, throw an error and exit |
12 # otherwise, calling make clean without setting PROJECT results in entire projects directory being rm -rf'ed | 12 # otherwise, we could have unexpected data loss when calling clean without it |
13 ifndef PROJECT | 13 ifndef PROJECT |
14 $(error PROJECT is not set) | 14 $(error PROJECT is not set) |
15 endif | 15 endif |
16 | 16 |
17 PROJECT_DIR := $(abspath projects/$(PROJECT)) | 17 PROJECT_DIR := $(abspath projects/$(PROJECT)) |
18 | 18 |
19 RM := rm -rf | 19 RM := rm -rf |