source: trunk/symbol_table/src/Makefile @ 2054

Last change on this file since 2054 was 2054, checked in by ksherdy, 7 years ago

Added div2 support wte length greater than or equal to 17.

File size: 897 bytes
Line 
1CC= g++ $(CFLAGS) # -g # -O3
2SSE=-msse2 #-mssse3 #-msse4.2
3CFLAGS= $(SSE)
4
5PAPI_DIR=/usr/local/papi-4.0.0
6ARCH=$(shell getconf LONG_BIT)
7ifeq ($(ARCH),32)
8        AFLAGS=-march=pentium4
9        PAPI=-DPAPI -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
10else
11        AFLAGS=-march=nocona -m64
12        PAPI=-DPAPI -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
13endif
14
15TEST_ROOT=../test
16
17all: basis_bits.hpp buffer.hpp byte_pool.hpp  hash_strms.hpp  hash_table.hpp  group_strms.hpp  symbol_table.hpp  main.cpp  Makefile  marker_strms.hpp  symbol_table.hpp  transpose.hpp
18        $(CC) -o main main.cpp $(AFLAGS) -DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG #-DHASH_TABLE_HPP_DEBUG # -DBUFFER_PROFILING
19
20test: main
21        python $(TEST_ROOT)/run_tests.py main $(TEST_ROOT)/uniform
22
23diff:
24        diff -rq --exclude=".svn" $(TEST_ROOT)/uniform $(TEST_ROOT)/uniform_rslts || exit 0
25
26clean:
27        rm -Rf main $(TEST_ROOT)/uniform_rslts
28
Note: See TracBrowser for help on using the repository browser.