>> Delete No. 17963 article
No. [질문] makefile 내용이 이해가 안가는데...

등록 2001-01-16 18:51:00 By localhost     조회 2
이름 jini    

		내용은 다음과 같습니다.
 TPROGS = testmember testtitle
 all: $(TPROGS)
 flatfile.o: dvd.h
testmember.o: dvd.h
testtitle.o: dvd.h
 testtitle: testmember.o flatfile.o
 testtile: testtile.o flatfile.o
 expected: $(TPROGS:=.expected)       <------이부분이 잘 이해가 안되고
%.expected : %                       <------이부분도요
  $<  > $@                           <------이부분도
 check: $(TPROGS:=.out)               <------이하줄 모두   
%.out : %                                   대충은 알겠는데
  $<  > $@                                  확실히 모르겠어요
  diff $@ $(@:.out=.expected)
 아시는분 정확하게좀 알려주세요
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved