forked from BOINC/boinc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.linux
65 lines (56 loc) · 1.06 KB
/
Makefile.linux
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
56
57
58
59
60
61
62
63
64
65
CC = g++ -g -I ../ -I ../lib/
PROGS = boinc_client
all: $(PROGS)
OBJ = \
acct_mgr.o \
acct_setup.o \
app.o \
app_control.o \
app_graphics.o \
app_start.o \
check_state.o \
client_msgs.o \
client_state.o \
client_types.o \
cpu_sched.o \
cs_account.o \
cs_apps.o \
cs_benchmark.o \
cs_cmdline.o \
cs_data.o \
cs_files.o \
cs_prefs.o \
cs_scheduler.o \
cs_statefile.o \
cs_trickle.o \
dhrystone.o \
dhrystone2.o \
file_names.o \
file_xfer.o \
gui_http.o \
gui_rpc_server.o \
gui_rpc_server_ops.o \
hostinfo_network.o \
hostinfo_unix.o \
http_curl.o \
log_flags.o \
main.o \
net_stats.o \
pers_file_xfer.o \
scheduler_op.o \
time_stats.o \
whetstone.o
clean:
rm $(PROGS) $(OBJ)
LIBS = -L ../lib \
-lboinc \
-lpthread \
-lssl \
-L /usr/local/lib/ -lcurl
.cpp.o:
$(CC) -c -o $*.o $<
boinc_client: $(OBJ)
$(CC) $(OBJ) $(LIBS) -o boinc_client
dependencies: *.cpp
$(CC) -M *.cpp > dependencies
include dependencies