forked from lijiext/lammps
Change 'echo -e' to 'printf' for greater compatibility
This commit is contained in:
parent
4f6dd381c3
commit
373b57cfdc
|
@ -137,7 +137,7 @@ $(OBJ_DIR)/lal_%.o: lal_%.cpp $(CUHS) $(ALL_H)
|
|||
|
||||
$(LIB_DIR)/libgpu.a: $(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
|
||||
|
||||
|
|
Loading…
Reference in New Issue