안녕하세요
제가 make 를 공부할려고
[root@jhh project]# ls
Makefile headerfile.h source1.o source2.o source3.o test
이렇게 각각의 파일을 만든후 (빈파일)
[root@jhh project]# cat Makefile
gcc -c source1.c
gcc -c source2.c
gcc -c source3.c
gcc -o test source1.o source2.o source3.o
이렇게 make 파일을 만든후
#make 했더니....
[root@jhh project]# make
Makefile:1:*** commands commence before first target. Stop.
이런 메시지가 나오네요...
내용은 뭐~ 명령은 첫번째 목표물 전에 실행되어야 한다는 것
같은 데 통 모르겟습니다.
답변 주시면 감사하겠습니다.