Guest User

Untitled

a guest
Nov 21st, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. # This won't work
  2. OBJECTS := D:/PR/9354/lib_15_#$@%&/submodels/win32-gcc/CONS00_ABHI_REV‌​15.o
  3. $(info [${OBJECTS}])
  4.  
  5. # This works
  6. OBJECTS := D:/PR/9354/lib_15_#$$@%&/submodels/win32-gcc/CONS00_ABHI_REV‌​15.o
  7. $(info [${OBJECTS}])
  8.  
  9. $ cat Makefile
  10. OBJECTS := D:/PR/9354/lib_15_#$$@%&/submodels/win32-gcc/CONS00_ABHI_REV‌​15.o
  11. QUOTED := $(patsubst %,'%',${OBJECTS})
  12.  
  13. .PHONY: all
  14. all:
  15. echo ${QUOTED}
  16.  
  17. $ make --warn
  18. echo 'D:/PR/9354/lib_15_#$@%&/submodels/win32-gcc/CONS00_ABHI_REV‌​15.o'
  19. D:/PR/9354/lib_15_#$@%&/submodels/win32-gcc/CONS00_ABHI_REV‌​15.o
Add Comment
Please, Sign In to add comment