1 # This should work on Linux. Modify as needed for other platforms.
3 BOINC_DIR = /home/ubuntu/boinc
4 BOINC_API_DIR = $(BOINC_DIR)/api
5 BOINC_LIB_DIR = $(BOINC_DIR)/lib
6 COMMON_LIB_DIR = /usr/lib
9 -static -static-libgcc \
24 ln -s `g++ -print-file-name=libstdc++.a`
27 /bin/rm -f $(PROGS) *.o
30 /bin/rm -f $(PROGS) *.o libstdc++.a
32 distrrtgen: distrrtgen.o libstdc++.a $(BOINC_API_DIR)/libboinc_api.a $(BOINC_LIB_DIR)/libboinc.a
33 $(CXX) *.c *.cpp $(CXXFLAGS) -o distrrtgen distrrtgen.o libstdc++.a $(COMMON_LIB_DIR)/libssl.a $(COMMON_LIB_DIR)/libpthread.a -lboinc_api -lboinc -lpthread -lssl -O3