내용은 다음과 같습니다.
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)
아시는분 정확하게좀 알려주세요