摘要: 1 CC=gcc 2 DEPS=base.h 3 OBJ=linkedlist.o base.o 4 5 %.o: %c $(DEPS) 6 $(CC) -c -o $@ $< 7 8 linkedlist: $(OBJ) 9 $(CC) -o $@ $^10 11 clear:12 rm $(OBJ) linkedlist 参考:http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/ 阅读全文
posted @ 2013-05-06 12:57 BlueMountain_79 阅读(93) 评论(0) 推荐(0) 编辑