Changeset 2281 for trunk


Ignore:
Timestamp:
Aug 7, 2012, 7:34:03 PM (7 years ago)
Author:
ksherdy
Message:

Updated Makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/symbol_table/pablo_out/Makefile

    r2279 r2281  
    1717TEST_DST_DIR = ../test/pout
    1818
    19 INCLUDE=../lib/
     19INCLUDES=-I../lib/
    2020
    2121###########################################################################
     
    2323###########################################################################
    2424id: main.cpp
    25         $(CC) -o id main.cpp $(AFLAGS) -I$(INCLUDE) -DID_STRATEGY -DBUFFER_PROFILING  #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG #-DHASH_TABLE_HPP_DEBUG
     25        $(CC) -o id main.cpp $(AFLAGS) $(INCLUDES) -DID_STRATEGY -DBUFFER_PROFILING  #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG #-DHASH_TABLE_HPP_DEBUG
    2626
    2727div2: main.cpp
    28         $(CC) -o div2 main.cpp $(AFLAGS) -I$(INCLUDE) -DDIV2_STRATEGY -DBUFFER_PROFILING  #-DHASH_TABLE_HPP_DEBUG #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG
     28        $(CC) -o div2 main.cpp $(AFLAGS) $(INCLUDES) -DDIV2_STRATEGY -DBUFFER_PROFILING  #-DHASH_TABLE_HPP_DEBUG #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG
    2929
    3030logbase2: main.cpp
    31         $(CC) -o logbase2 main.cpp $(AFLAGS) -I$(INCLUDE) -DLOGBASE2_STRATEGY -DBUFFER_PROFILING  #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG  #-DHASH_TABLE_HPP_DEBUG
     31        $(CC) -o logbase2 main.cpp $(AFLAGS) $(INCLUDES) -DLOGBASE2_STRATEGY -DBUFFER_PROFILING  #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG  #-DHASH_TABLE_HPP_DEBUG
    3232
    3333div2_logbase2: main.cpp
    34         $(CC) -o div2_logbase2 main.cpp $(AFLAGS) -I$(INCLUDE) -DDIV2_LOGBASE2_STRATEGY -DBUFFER_PROFILING  #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG  #-DHASH_TABLE_HPP_DEBUG
     34        $(CC) -o div2_logbase2 main.cpp $(AFLAGS) $(INCLUDES) -DDIV2_LOGBASE2_STRATEGY -DBUFFER_PROFILING  #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG  #-DHASH_TABLE_HPP_DEBUG
    3535
    3636bit_byte: main.cpp
    37         $(CC) -o bit_byte main.cpp $(AFLAGS) -I$(INCLUDE) -DBIT_BYTE_STRATEGY -DBUFFER_PROFILING  #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG  #-DHASH_TABLE_HPP_DEBUG
     37        $(CC) -o bit_byte main.cpp $(AFLAGS) $(INCLUDES) -DBIT_BYTE_STRATEGY -DBUFFER_PROFILING  #-DID_SYMBOL_TABLE_TEMPLATE_HPP_DEBUG  #-DHASH_TABLE_HPP_DEBUG
    3838
    3939###########################################################################
     
    4141###########################################################################
    4242id_diff_test: id
    43         $(CC) -o id main.cpp $(AFLAGS) -I$(INCLUDE) -DID_STRATEGY -DIDENTITY_TEST
     43        $(CC) -o id main.cpp $(AFLAGS) $(INCLUDES) -DID_STRATEGY -DIDENTITY_TEST
    4444        python $(TEST_SCRIPT) id -d
    4545        diff -rq --exclude=".svn" $(TEST_SRC_DIR) $(TEST_DST_DIR) || exit 0
    4646
    4747div2_diff_test: div2
    48         $(CC) -o div2 main.cpp $(AFLAGS) -I$(INCLUDE) -DDIV2_STRATEGY -DIDENTITY_TEST
     48        $(CC) -o div2 main.cpp $(AFLAGS) $(INCLUDES) -DDIV2_STRATEGY -DIDENTITY_TEST
    4949        python $(TEST_SCRIPT) div2 -d
    5050        diff -rq --exclude=".svn" $(TEST_SRC_DIR) $(TEST_DST_DIR) || exit 0
    5151
    5252logbase2_diff_test: logbase2
    53         $(CC) -o logbase2 main.cpp $(AFLAGS) -I$(INCLUDE) -DLOGBASE2_STRATEGY -DIDENTITY_TEST
     53        $(CC) -o logbase2 main.cpp $(AFLAGS) $(INCLUDES) -DLOGBASE2_STRATEGY -DIDENTITY_TEST
    5454        python $(TEST_SCRIPT) logbase2 -d
    5555        diff -rq --exclude=".svn" $(TEST_SRC_DIR) $(TEST_DST_DIR) || exit 0
    5656
    5757div2_logbase2_diff_test: div2_logbase2
    58         $(CC) -o div2_logbase2 main.cpp $(AFLAGS) -I$(INCLUDE) -DDIV2_LOGBASE2_STRATEGY -DIDENTITY_TEST
     58        $(CC) -o div2_logbase2 main.cpp $(AFLAGS) $(INCLUDES) -DDIV2_LOGBASE2_STRATEGY -DIDENTITY_TEST
    5959        python $(TEST_SCRIPT) div2_logbase2 -d
    6060        diff -rq --exclude=".svn" $(TEST_SRC_DIR) $(TEST_DST_DIR) || exit 0
    6161
    6262bit_byte_diff_test: bit_byte
    63         $(CC) -o bit_byte main.cpp $(AFLAGS) -I$(INCLUDE) -DBIT_BYTE_STRATEGY -DIDENTITY_TEST
     63        $(CC) -o bit_byte main.cpp $(AFLAGS) $(INCLUDES) -DBIT_BYTE_STRATEGY -DIDENTITY_TEST
    6464        python $(TEST_SCRIPT) bit_byte -d
    6565        diff -rq --exclude=".svn" $(TEST_SRC_DIR) $(TEST_DST_DIR) || exit 0
     
    6969###########################################################################
    7070id_gid_test:
    71         $(CC) -o id main.cpp $(AFLAGS) -I$(INCLUDE) -DID_STRATEGY -DGID_TEST
     71        $(CC) -o id main.cpp $(AFLAGS) $(INCLUDES) -DID_STRATEGY -DGID_TEST
    7272        python $(TEST_SCRIPT) id -g
    7373
    7474div2_gid_test:
    75         $(CC) -o div2 main.cpp $(AFLAGS) -I$(INCLUDE) -DDIV2_STRATEGY -DGID_TEST
     75        $(CC) -o div2 main.cpp $(AFLAGS) $(INCLUDES) -DDIV2_STRATEGY -DGID_TEST
    7676        python $(TEST_SCRIPT) div2 -g
    7777
    7878logbase2_gid_test:
    79         $(CC) -o logbase2 main.cpp $(AFLAGS) -I$(INCLUDE) -DLOGBASE2_STRATEGY -DGID_TEST
     79        $(CC) -o logbase2 main.cpp $(AFLAGS) $(INCLUDES) -DLOGBASE2_STRATEGY -DGID_TEST
    8080        python $(TEST_SCRIPT) logbase2 -g
    8181
    8282div2_logbase2_gid_test:
    83         $(CC) -o div2_logbase2 main.cpp $(AFLAGS) -I$(INCLUDE) -DDIV2_LOGBASE2_STRATEGY -DGID_TEST
     83        $(CC) -o div2_logbase2 main.cpp $(AFLAGS) $(INCLUDES) -DDIV2_LOGBASE2_STRATEGY -DGID_TEST
    8484        python $(TEST_SCRIPT) div2_logbase2 -g
    8585
    8686bit_byte_gid_test:
    87         $(CC) -o bit_byte main.cpp $(AFLAGS) -I$(INCLUDE) -DBIT_BYTE_STRATEGY -DGID_TEST
     87        $(CC) -o bit_byte main.cpp $(AFLAGS) $(INCLUDES) -DBIT_BYTE_STRATEGY -DGID_TEST
    8888        python $(TEST_SCRIPT) bit_byte -g
    8989
Note: See TracChangeset for help on using the changeset viewer.