Programming

[makefile]commands commence before first target 에러

Jorten 2010. 7. 7. 10:10
*** commands commence before first target. Stop 와 같은 에러가 발생하는 경우

\ 문자 뒤에 공백이 들어가서 그렇다.

Ex ) MOD :=  \
$(DIR)/Test.o \
$(DIR)/Lib.o \
$(DIR)/smc.o

위의 예와 같이 붉은 색의 빈칸이 들어가 있으면, 에러가 발생한다.