-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (25 loc) · 702 Bytes
/
Makefile
File metadata and controls
37 lines (25 loc) · 702 Bytes
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
CC = gcc
all: thanos thanoscat thanossay quotes.dat
install: thanos_install thanoscat_install thanossay_install quotes_install
clean:
rm -f thanos
rm -f thanoscat
rm -f thanossay
rm -f quotes.dat
thanos: thanos.c
$(CC) -o thanos thanos.c
thanoscat: thanoscat.c
$(CC) -o thanoscat thanoscat.c
thanossay: thanossay.c
$(CC) -o thanossay thanossay.c
thanos_install: thanos quotes_install
cp thanos /usr/local/bin/thanos
thanoscat_install: thanoscat
cp thanoscat /usr/local/bin/thanoscat
thanossay_install: thanossay
cp thanossay /usr/local/bin/thanossay
quotes.dat: quotes
strfile quotes
quotes_install: quotes.dat
mkdir -p /usr/share/thanos
cp quotes quotes.dat /usr/share/thanos