Ignore:
Timestamp:
Oct 24, 2012, 1:49:46 PM (7 years ago)
Author:
ksherdy
Message:

Updated project with PAPI support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/u8u16/src/Makefile

    r1592 r2550  
    1818ifeq ($(ARCH),32)
    1919    AFLAGS=-march=pentium4
    20     CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
     20    PAPI=-I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -I../lib/cclib -Ilib/cclib
    2121else
    2222    AFLAGS=-march=nocona -m64
    23     CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
     23    PAPI=-I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
    2424endif
    2525
     
    2727        $(CC) -o $(OUTFILE) $(SRCFILE) $(AFLAGS)
    2828
    29 code_clocker:   $(SRCFILE)
    30         $(CC) -o $(OUTFILE) $(SRCFILE) $(AFLAGS) $(CODE_CLOCKER)
     29papi:   $(SRCFILE)
     30        $(CC) -o $(OUTFILE) $(SRCFILE) $(AFLAGS) $(PAPI)
    3131
    3232buffer_profiling: $(SRCFILE)
Note: See TracChangeset for help on using the changeset viewer.