Makefile
资源名称:ilib [点击查看]
上传用户:changbiao
上传日期:2007-01-13
资源大小:141k
文件大小:1k
源码类别:

图片显示

开发平台:

C/C++

  1. #CC = gcc
  2. #CFLAGS = -g -Wall
  3. #RANLIB = ranlib
  4. SUBDIRS = ifont2h iwebreprt ifraggraph idisplayfont iindex
  5. all: build
  6. build:
  7. @echo "Building all in `pwd`"; 
  8. for i in $(SUBDIRS); 
  9. do 
  10.   echo "======> $$i"; 
  11.   ( cd $$i; make ) 
  12. done
  13. install:
  14. @echo "Installing from `pwd`"; 
  15. for i in $(SUBDIRS); 
  16. do 
  17.   echo "======> $$i"; 
  18.   ( cd $$i; make install ) 
  19. done
  20. clean:
  21. @echo "Cleaning in `pwd`"; 
  22. for i in $(SUBDIRS); 
  23. do 
  24.   ( cd $$i; make clean ) 
  25. done
  26. makefiles:
  27. @echo "Updating makefiles in `pwd`..."; 
  28. for i in $(SUBDIRS); 
  29. do 
  30.   ( cd $$i; make makefiles ) 
  31. done
  32. makefile: