source: trunk/symbol_table/Makefile @ 1965

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

Removed generated files.

File size: 1.6 KB
Line 
1CC= g++ $(CFLAGS) -O3 #-g
2SSE=-msse2 #-mssse3 #-msse4.2
3CFLAGS= $(SSE) 
4SRCFILE=ls_symbol_table.cxx hash_symbol_table.cpp symtab.cxx bitstream_hash_table.cpp
5INCLUDES_IDISA = -I../lib/
6
7PAPI_DIR=/usr/local/papi-4.0.0
8ARCH=$(shell getconf LONG_BIT)
9ifeq ($(ARCH),32)
10    AFLAGS=-march=pentium4
11    PAPI=-DPAPI -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
12else
13    AFLAGS=-march=nocona -m64
14    PAPI=-DPAPI -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
15endif
16
17PABLO_COMPILER=Compiler/pablomain.py
18PABLO_ADD_DEBUG = #-a -b
19
20MARKER_PREFIX=@marker_strms_
21MARKER_PABLO_SRC=marker_strms.py
22MARKER_TEMPLATE=marker_strms_template.hpp
23MARKER_OUTFILE=src/marker_strms.hpp
24
25HASH_PREFIX=@hash_strms_
26HASH_PABLO_SRC=hash_strms.py
27HASH_TEMPLATE=hash_strms_template.hpp
28HASH_OUTFILE=src/hash_strms.hpp
29
30IDENTITY_PREFIX=@id_group_strms_
31IDENTITY_PABLO_SRC=id_group_strms.py
32IDENTITY_TEMPLATE=id_group_strms_template.hpp
33IDENTITY_OUTFILE=src/id_group_strms.hpp
34
35MAIN_TEMPLATE=main_template.cpp
36MAIN_OUTFILE=src/main.cpp
37
38all: 
39        python $(PABLO_COMPILER) $(MARKER_PABLO_SRC) -t $(MARKER_TEMPLATE) -l$(MARKER_PREFIX) -o $(MARKER_OUTFILE) $(PABLO_ADD_DEBUG)
40        python $(PABLO_COMPILER) $(HASH_PABLO_SRC) -t $(HASH_TEMPLATE) -l$(HASH_PREFIX) -o $(HASH_OUTFILE) $(PABLO_ADD_DEBUG)
41        python $(PABLO_COMPILER) $(IDENTITY_PABLO_SRC) -t $(IDENTITY_TEMPLATE) -l$(IDENTITY_PREFIX) -o $(IDENTITY_OUTFILE) $(PABLO_ADD_DEBUG)
42        python $(PABLO_COMPILER) $(MARKER_PABLO_SRC) -t $(MAIN_TEMPLATE) -l$(MARKER_PREFIX) -o $(MAIN_OUTFILE) $(PABLO_ADD_DEBUG) # @marker_strms_any_carry
43#       $(CC) -o main main.cpp $(AFLAGS) -DBUFFER_PROFILING
44
45clean:
46        rm -f main *.o *.a
47
48       
Note: See TracBrowser for help on using the repository browser.