Skip to content

Issue setting path with makefile in ./papitool #6

@AashikSharif

Description

@AashikSharif

Hi i'm getting error saying no input file found after changing the path in scam/papitool/makefile.
ill send the error shown here.The code in the make file is also present below. Could somebody please help me with the issue. Thanks in advance.
Screenshot from 2019-06-04 11:53:59

nrs@NRS-PC-HP:~/Desktop/ash/SCAM/papitool$ sudo make
gcc -I/home/nrs/Desktop/ash/papi-5.4.1/src -I/home/nrs/Desktop/ash/papi-5.4.1/src -I/home/nrs/Desktop/ash/papi-5.4.1/src/testlib \
gcc: error: : No such file or directory
gcc: fatal error: no input files
compilation terminated.
make: *** [all] Error 4



CC=gcc
PAPI_DIR= /home/nrs/Desktop/ash/papi-5.4.1/src
EXT_OBJS=${PAPI_DIR}/testlib/do_loops.o \
${PAPI_DIR}/testlib/test_utils.o \
${PAPI_DIR}/testlib/dummy.o

all:  
${CC} -I${PAPI_DIR} -I${PAPI_DIR} -I${PAPI_DIR}/testlib \ 
-g -Wall papitool.c argparse.c \
${EXT_OBJS} \
${PAPI_DIR}/libpapi.a \
-o papitool
clean:
-rm papitool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions