mirror of https://github.com/BOINC/boinc.git
58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
# This should work on Mac OS 10.6 with XCode 3.2. Modify as needed for other platforms.
|
|
|
|
# Change the following to match your installation
|
|
BOINC_DIR = ../..
|
|
BOINC_API_DIR = $(BOINC_DIR)/api
|
|
BOINC_LIB_DIR = $(BOINC_DIR)/lib
|
|
BOINC_ZIP_DIR = $(BOINC_DIR)/zip
|
|
BOINC_BUILD_DIR = $(BOINC_DIR)/mac_build/build/Deployment
|
|
BOINC_CONFIG_DIR = $(BOINC_DIR)/clientgui/mac
|
|
|
|
CXXFLAGS = $(VARIANTFLAGS) \
|
|
-g \
|
|
-I$(BOINC_CONFIG_DIR) \
|
|
-I$(BOINC_DIR) \
|
|
-I$(BOINC_LIB_DIR) \
|
|
-I$(BOINC_API_DIR) \
|
|
-I$(BOINC_ZIP_DIR) \
|
|
-L$(BOINC_API_DIR) \
|
|
-L$(BOINC_LIB_DIR) \
|
|
-L$(BOINC_ZIP_DIR) \
|
|
-L$(BOINC_BUILD_DIR) \
|
|
-L.
|
|
|
|
PROGS = wrapper
|
|
|
|
all: $(PROGS)
|
|
|
|
clean:
|
|
rm $(PROGS) *.o
|
|
|
|
distclean:
|
|
/bin/rm -f $(PROGS) *.o
|
|
|
|
REGEXP_OBJS = \
|
|
regexp.o \
|
|
regsub.o \
|
|
regerror.o \
|
|
regexp_memory.o \
|
|
regexp_report.o
|
|
|
|
regexp.o: regexp.c
|
|
$(CXX) $(CXXFLAGS) -c regexp.c
|
|
|
|
regsub.o: regsub.c
|
|
$(CXX) $(CXXFLAGS) -c regsub.c
|
|
|
|
regerror.o: regerror.c
|
|
$(CXX) $(CXXFLAGS) -c regerror.c
|
|
|
|
regexp_memory.o: regexp_memory.c
|
|
$(CXX) $(CXXFLAGS) -c regexp_memory.c
|
|
|
|
regexp_report.o: regexp_report.c
|
|
$(CXX) $(CXXFLAGS) -c regexp_report.c
|
|
|
|
wrapper: wrapper.o $(REGEXP_OBJS)
|
|
$(CXX) $(CXXFLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) -pthread -lboinc_api -lboinc -lboinc_zip
|