[makefile]commands commence before first target 에러

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

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

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

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

'Programming' 카테고리의 다른 글

ARM C Compiler  (0) 2010.09.18
세마포어( Semaphore )  (1) 2010.05.31
Event-driven programming  (0) 2010.05.31
undefined reference  (0) 2010.03.26
XML 이란?  (0) 2010.03.26

설정

트랙백

댓글