findstring1 Makefile 에서 environmental variable substring 조건비교 관련 예제 KMA_EMA_LIBRARY = not_yet_assigned ifneq (,$(findstring -x64,$(TEA2_BUILD))) ifeq ($(origin DEBUG), undefined) KMA_EMA_LIBRARY=kma_ema_linux64_release else KMA_EMA_LIBRARY=kma_ema_linux64_debug endif else ifeq ($(origin DEBUG), undefined) KMA_EMA_LIBRARY=kma_ema_linux32_release else KMA_EMA_LIBRARY=kma_ema_linux32_debug endif endif Description TEA2_BUILD 환경변수 에 문자열 '-x64'가 설정된 경우, 그리고 환경변수 DEBUG.. 2012. 8. 30. 이전 1 다음