Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:06a8b51d6d
Former-commit-id:3360eb6c5f
19 lines
No EOL
322 B
Makefile
19 lines
No EOL
322 B
Makefile
# setup the BUILD_DIR
|
|
|
|
init:
|
|
ifndef BUILD_DIR
|
|
# BUILD_DIR is not defined
|
|
exit 1
|
|
endif
|
|
|
|
all: init $(BUILD_DIR)
|
|
|
|
$(BUILD_DIR):
|
|
mkdir $(BUILD_DIR)
|
|
mkdir $(BUILD_DIR)/bin #location for all executable binaries
|
|
mkdir $(BUILD_DIR)/lib #location for all libraries
|
|
|
|
clean: init
|
|
rm -fr $(BUILD_DIR)
|
|
|
|
.PHONY: init, all, clean |