Hello!,
I know this my be slightly unrelated question but it's very simple questions and I know many of you will find it very easy. I want to pass several txt files to my c code using make file, but I can't make it right, so please help me in this, here is what I had tried:
.PHONY: all
all: clean
g++ -o run main.cpp -fopenmp
.PHONY: clean
clean:
rm -rf run
this is what I do to create an executable run, but I want to pass two txt files to the main function in main.cpp, I have tried a lot of things but I didn't succeed.
Thanks