~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to samples/wrapper/Makefile_mac

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This should work on Mac OS 10.6 with XCode 3.2.  Modify as needed for other platforms.
 
2
 
 
3
# Change the following to match your installation
 
4
BOINC_DIR = ../..
 
5
BOINC_API_DIR = $(BOINC_DIR)/api
 
6
BOINC_LIB_DIR = $(BOINC_DIR)/lib
 
7
BOINC_BUILD_DIR = $(BOINC_DIR)/mac_build/build/Deployment
 
8
BOINC_CONFIG_DIR =  $(BOINC_DIR)/clientgui/mac
 
9
 
 
10
CXXFLAGS = $(VARIANTFLAGS) \
 
11
        -g \
 
12
    -I$(BOINC_CONFIG_DIR) \
 
13
    -I$(BOINC_DIR) \
 
14
    -I$(BOINC_LIB_DIR) \
 
15
    -I$(BOINC_API_DIR) \
 
16
    -L$(BOINC_API_DIR) \
 
17
    -L$(BOINC_LIB_DIR) \
 
18
    -L$(BOINC_BUILD_DIR) \
 
19
    -L.
 
20
 
 
21
PROGS = wrapper
 
22
 
 
23
all: $(PROGS)
 
24
 
 
25
clean:
 
26
        rm $(PROGS) *.o
 
27
 
 
28
distclean:
 
29
        /bin/rm -f $(PROGS) *.o
 
30
        
 
31
wrapper: wrapper.o
 
32
        g++ $(CXXFLAGS) -o wrapper wrapper.o -pthread -lboinc_api -lboinc