-
Notifications
You must be signed in to change notification settings - Fork 47
/
Makefile
55 lines (43 loc) · 1.13 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
46
47
48
49
50
51
52
53
54
55
# Copyright (c) 1998 Lucent Technologies - All rights reserved.
# Changes Copyright (c) 2014-2015 Rob King
#
# master makefile for sam. configure sub-makefiles first.
#
MODE?=user
all: config.mk lXg lframe samdir samtermdir docdir
config.mk:
cp config.mk.def config.mk
lXg:
cd libXg; $(MAKE)
lframe:
cd libframe; $(MAKE)
docdir:
cd doc; $(MAKE)
samdir:
cd sam; $(MAKE)
samtermdir:
cd samterm; $(MAKE)
install:
@xdg-desktop-menu install --mode $(MODE) deadpixi-sam.desktop || echo "unable to install desktop entry"
cd libXg; $(MAKE) install
cd libframe; $(MAKE) install
cd sam; $(MAKE) install
cd samterm; $(MAKE) install
cd doc; $(MAKE) install
cd ssam; $(MAKE) install
uninstall:
@xdg-desktop-menu uninstall --mode $(MODE) deadpixi-sam.desktop || echo "unable to uninstall desktop entry"
cd libXg; $(MAKE) uninstall
cd libframe; $(MAKE) uninstall
cd sam; $(MAKE) uninstall
cd samterm; $(MAKE) uninstall
cd doc; $(MAKE) uninstall
cd ssam; $(MAKE) uninstall
clean:
cd libXg; $(MAKE) clean
cd libframe; $(MAKE) clean
cd sam; $(MAKE) clean
cd samterm; $(MAKE) clean
cd ssam; $(MAKE) clean
nuke: clean
rm -f config.mk