-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
44 lines (34 loc) · 996 Bytes
/
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
#
# angharad root Makefile
# build Angharad program and Sagremor dist files
#
# Copyright 2018 Nicolas Mora <[email protected]>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU GPL v3 license.
#
# This library 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.
#
webapp-build:
cd webapp-src && $(MAKE) build
find webapp ! -name config.json ! -name webapp -delete
cp -R webapp-src/dist/* webapp/
webapp-install:
cd webapp-src && $(MAKE) install
webapp-clean:
cd webapp-src && $(MAKE) clean
angharad-build:
cd src && make
angharad-install:
cd src && make install
angharad-clean:
cd src && make clean
test:
cd test && make
test-clean:
cd test && make clean
install: angharad-install webapp-install
clean: angharad-clean webapp-clean test-clean