File: Makefile.linux

package info (click to toggle)
boinc 7.14.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 111,132 kB
  • sloc: cpp: 163,589; php: 113,173; ansic: 49,284; pascal: 35,620; xml: 17,864; java: 13,521; python: 6,551; sh: 4,082; perl: 1,843; makefile: 1,796; objc: 1,543; sql: 959; csh: 126; lisp: 47
file content (66 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download
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
66
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_linux.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