-
Notifications
You must be signed in to change notification settings - Fork 0
/
rusty.txt
49 lines (43 loc) · 1.25 KB
/
rusty.txt
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
compiler: "gcc";
#Lukáš Hozda(c), 2015-2017
#
#Usage of the works is permitted provided that this
#instrument is retained with the works, so that any
#entity that uses the works is notified of this instrument.
#
#DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
#also disclaimer: this license text is here mainly to test comments
target rusty:
name: "rusty";
type: executable;
flags: { "-Wall", "-std=gnu99", "-Wno-format-truncation" };
output: ".";
file: "mpc.c";
file: "rusty.c" @depends("util.h", "dirent.h", "arg.h");
depends: "mpc.h";
install: {
"cp ./rusty /usr/bin/rusty",
"chmod 0777 /usr/bin/rusty",
"mkdir /usr/man 2> /dev/null",
"mkdir /usr/man/man1 2> /dev/null",
"cp ./rusty.1 /usr/man/man1/",
"echo updating mandb; mandb -q"
};
uninstall: {
"rm -f /usr/bin/rusty",
"rm -f /usr/man/man1/rusty.1",
"echo updating mandb; mandb -q"
};
target rusty_debug:
name: "rusty";
type: executable;
flags: { "-Wall", "-g", "-flto", "-std=gnu99", "-Wno-format-truncation" };
output: ".";
file: "mpc.c";
file: "rusty.c" @depends("util.h", "dirent.h", "arg.h");
depends: "mpc.h";
target testato:
name: "brondato";
run: {
"echo testato"
};