Skip to content
Snippets Groups Projects
Commit 7e22823e authored by Juan Escobar's avatar Juan Escobar
Browse files

Juan 25/04/2017:Makefile, for MacOS , in xargs replace -i -> -I{}

parent ba8cdb00
No related branches found
No related tags found
No related merge requests found
...@@ -383,7 +383,7 @@ install : $(patsubst %,%-${ARCH_XYZ},$(PROG_LIST)) install_tools ...@@ -383,7 +383,7 @@ install : $(patsubst %,%-${ARCH_XYZ},$(PROG_LIST)) install_tools
$(PROG_LIST) : OBJ_PROG=$(shell find $(PROG_DIR) -follow -type f -name "spll_*.f*" \ $(PROG_LIST) : OBJ_PROG=$(shell find $(PROG_DIR) -follow -type f -name "spll_*.f*" \
| xargs grep -l -E -i "^[[:space:]]*program *$@" | sed -e 's/\.f.*/.o/g' | head -1 \ | xargs grep -l -E -i "^[[:space:]]*program *$@" | sed -e 's/\.f.*/.o/g' | head -1 \
| xargs basename | xargs -i find $(PROG_DIR) -follow -name {} -print | head -1 ) | xargs basename | xargs -I{} find $(PROG_DIR) -follow -name {} -print | head -1 )
$(PROG_LIST) : $(LIB_MNH) $(LIB_GRIBEX) $(PROG_LIST) : $(LIB_MNH) $(LIB_GRIBEX)
# echo OBJ_PROG=$(OBJ_PROG) # echo OBJ_PROG=$(OBJ_PROG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment