-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (37 loc) · 1.12 KB
/
Makefile
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
#
# Hutch - Password and private data locker
#
# Makefile used to build the software
#
# Copyright 2016-2021 Nicolas Mora <mail@babelouest.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU GENERAL PUBLIC LICENSE
# License as published by the Free Software Foundation;
# version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU GENERAL PUBLIC LICENSE for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program. If not, see <http://www.gnu.org/licenses/>.
#
HUTCH_SOURCE=./src
HUTCH_TESTS=./test
all:
cd $(HUTCH_SOURCE) && $(MAKE)
debug:
cd $(HUTCH_SOURCE) && $(MAKE) debug
install:
cd $(HUTCH_SOURCE) && $(MAKE) install
memcheck:
cd $(HUTCH_SOURCE) && $(MAKE) memcheck
test-debug:
cd $(HUTCH_SOURCE) && $(MAKE) test-debug
test:
cd $(HUTCH_TESTS) && $(MAKE) test
clean:
cd $(HUTCH_SOURCE) && $(MAKE) clean
cd $(HUTCH_TESTS) && $(MAKE) clean