forked from BlockchainCommons/seedtool-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
61 lines (51 loc) · 1.25 KB
/
Makefile.in
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# @configure_input@
#
# Makefile.in
#
# Copyright © 2020 by Blockchain Commons, LLC
# Licensed under the "BSD-2-Clause Plus Patent License"
#
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
SHELL := /bin/bash
else ifeq ($(findstring MINGW64, $(UNAME)), MINGW64)
# on windows building with msys2/mingw64
SHELL := /bin/bash
endif
# Package-specific substitution variables
package = @PACKAGE_NAME@
version = @PACKAGE_VERSION@
# Prefix-specific substitution variables
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
# VPATH-specific substitution variables
srcdir = @srcdir@
VPATH = @srcdir@
# Terminal colors
RED=`tput setaf 1`
GREEN=`tput setaf 2`
RESET=`tput sgr0`
.PHONY: all clean seedtool check lint
all clean seedtool check lint:
source set_build_paths.sh && cd src && $(MAKE) $@
.PHONY: install uninstall
install uninstall:
source set_build_paths.sh && cd src && $(MAKE) $@
config.status: configure
./config.status --recheck
.PHONY: distclean
distclean:
cd src && $(MAKE) $@
rm -f Makefile
rm -rf autom4te.cache
rm -f autoscan.log
rm -f configure.scan configure.status config.log config.status config.h
for d in deps/*; do \
if [[ -d "$d" ]]; then \
pushd $d; \
make clean; \
popd; \
fi; \
done
rm -rf sysroot