Change 'echo -e' to 'printf' for greater compatibility

This commit is contained in:
Richard Berger 2020-03-30 17:36:00 -04:00
parent 4f6dd381c3
commit 373b57cfdc
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ $(OBJ_DIR)/lal_%.o: lal_%.cpp $(CUHS) $(ALL_H)
$(LIB_DIR)/libgpu.a: $(OBJS) $(LIB_DIR)/libgpu.a: $(OBJS)
$(AR) -crs $@ $(OBJS) $(AR) -crs $@ $(OBJS)
echo -e "export HIP_PLATFORM := $(HIP_PLATFORM)\n$(HIP_LIBS_TARGET)" > 'Makefile.lammps' printf "export HIP_PLATFORM := %s\n%s\n" "$(HIP_PLATFORM)" "$(HIP_LIBS_TARGET)" > Makefile.lammps
# test app building # test app building