diff options
author | Hal Daume III <me@hal3.name> | 2014-05-24 06:46:58 +0400 |
---|---|---|
committer | Hal Daume III <me@hal3.name> | 2014-05-24 06:46:58 +0400 |
commit | e3f209afba12d92a8802aa8d8120779124a505ad (patch) | |
tree | a5828045e828070feecace848029a0c904213b22 /Makefile | |
parent | e3fc2faa6e7b774e0e0c9718f8e7f7e7575bbbed (diff) |
new working snapshot
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,5 @@ CXX = $(shell which clang++) +#CXX = $(shell which clang++) -m32 -static ifneq ($(CXX),) #$(warning Using clang: "$(CXX)") ARCH = -D__extern_always_inline=inline @@ -49,14 +50,14 @@ endif FLAGS = $(CFLAGS) $(LDFLAGS) $(ARCH) $(WARN_FLAGS) $(OPTIM_FLAGS) -D_FILE_OFFSET_BITS=64 -DNDEBUG -I $(BOOST_INCLUDE) #-DVW_LDA_NO_SSE # for profiling -- note that it needs to be gcc -#FLAGS = $(CFLAGS) $(LDFLAGS) $(ARCH) $(WARN_FLAGS) -O2 -fno-strict-aliasing -ffast-math -D_FILE_OFFSET_BITS=64 -I $(BOOST_INCLUDE) -pg #-DVW_LDA_NO_S -#CXX = g++ +FLAGS = $(CFLAGS) $(LDFLAGS) $(ARCH) $(WARN_FLAGS) -O2 -fno-strict-aliasing -ffast-math -D_FILE_OFFSET_BITS=64 -I $(BOOST_INCLUDE) -pg #-DVW_LDA_NO_S +CXX = g++ # for valgrind / gdb debugging #FLAGS = $(CFLAGS) $(LDFLAGS) $(ARCH) $(WARN_FLAGS) -ffast-math -D_FILE_OFFSET_BITS=64 -I $(BOOST_INCLUDE) -g -O0 # for valgrind profiling: run 'valgrind --tool=callgrind PROGRAM' then 'callgrind_annotate --tree=both --inclusive=yes' -#FLAGS = $(CFLAGS) $(LDFLAGS) -Wall $(ARCH) -ffast-math -D_FILE_OFFSET_BITS=64 -I $(BOOST_INCLUDE) -g -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing +#FLAGS = $(CFLAGS) $(LDFLAGS) -Wall $(ARCH) -ffast-math -D_FILE_OFFSET_BITS=64 -I $(BOOST_INCLUDE) -g -O2 -fomit-frame-pointer -ffast-math -fno-strict-aliasing BINARIES = vw active_interactor MANPAGES = vw.1 |