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

Updated templates for new perfsec.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/src/Makefile

    r2296 r2547  
    1313CFLAGS= $(SSE) -O3
    1414SSE=-msse2 #-msse4.1 -DUSE_PTEST #-mssse3 -msse4.1 -msse4.2
    15 INCLUDES=-I../util -I../lib/
     15INCLUDES=-I../util -I../lib/ -I../lib/cc-lib/
    1616
    1717PAPI_DIR=/usr/local/papi
     
    2020ifeq ($(ARCH),32)
    2121    AFLAGS=-march=pentium4
    22     CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
     22    PAPI=-I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
    2323else
    2424    AFLAGS=-march=nocona -m64
    25     CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
     25    PAPI=-I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
    2626endif
    2727
     
    3838
    3939papi_profiling: $(SRCFILE)
    40         $(CC) -o $(OUTFILE) $(SRCFILE) $(INCLUDES) $(AFLAGS) $(CODE_CLOCKER)
     40        $(CC) -o $(OUTFILE) $(SRCFILE) $(INCLUDES) $(AFLAGS) $(PAPI)
    4141
    4242buffer_profiling: $(SRCFILE)
Note: See TracChangeset for help on using the changeset viewer.