Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2a29d1c8d1
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.94 kb
BOOST_ROOT = $(HOME)/boost_1_49_0
CC = g++ -static -O3 -DNDEBUG -std=gnu++0x
all: ../bin/Linux/x86_64/igrow ../bin/Linux/x86/igrow
../bin/Linux/x86_64/igrow: ../obj/Linux/x86_64/thread_pool.o ../obj/Linux/x86_64/operation.o ../obj/Linux/x86_64/ligand.o ../obj/Linux/x86_64/main.o
$(CC) -m64 -o $@ $^ -L$(BOOST_ROOT)/lib/x86_64 -pthread -lboost_system -lboost_thread -lboost_filesystem -lboost_program_options
../obj/Linux/x86_64/%.o: ../src/%.cpp
$(CC) -m64 -o $@ $< -I$(BOOST_ROOT) -c
../bin/Linux/x86/igrow: ../obj/Linux/x86/thread_pool.o ../obj/Linux/x86/operation.o ../obj/Linux/x86/ligand.o ../obj/Linux/x86/main.o
$(CC) -m32 -o $@ $^ -L$(BOOST_ROOT)/lib/x86 -pthread -lboost_system -lboost_thread -lboost_filesystem -lboost_program_options
../obj/Linux/x86/%.o: ../src/%.cpp
$(CC) -m32 -o $@ $< -I$(BOOST_ROOT) -c
clean:
rm -f ../bin/Linux/x86/igrow ../obj/Linux/x86/*.o ../bin/Linux/x86_64/igrow ../obj/Linux/x86_64/*.o
Jump to Line
Something went wrong with that request. Please try again.