home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / makefile.emx < prev    next >
Makefile  |  1995-03-29  |  1KB  |  71 lines

  1.  
  2.  
  3. include $(YACLPATH)/control/emxmak.ctl
  4.  
  5.  
  6. LIBS = base io ui
  7.  
  8.  
  9. yacl: libdir $(LIBS)
  10.  
  11. everything: base io ui uidemos
  12.  
  13.  
  14.  
  15. libdir:
  16.     -md $(YACLPATH)\lib
  17.     -md $(YACLPATH)\lib\$(YACLPLATFORM)
  18.  
  19.  
  20.  
  21.  
  22. .PHONY: base io ui uidemos
  23.  
  24. base:
  25.     - cd base && make -f makefile.emx && cd .. 
  26.  
  27.  
  28. io:
  29.     - cd io && make -f makefile.emx && cd .. 
  30.  
  31.  
  32. ui:
  33.     - cd ui && make -f makefile.emx && cd .. 
  34.  
  35.  
  36. uidemos:
  37.     - cd uidemo && make -f makefile.emx && cd ..
  38.  
  39.  
  40.  
  41. clean:
  42.     -rm -f base/*.o io/*.o ui/*.o lib/$(YACLPLATFORM)/*.a
  43.     - cd uidemo && make -f makefile.emx clean && cd ..
  44.         
  45.  
  46.         
  47.  
  48.  
  49.  
  50. ZIP = zip
  51.  
  52. zip:
  53.     rm -f yacl_all.zip
  54.     find . \! \( -perm +u+x -o -name '*.o' -o -name '*.a' \) -print | \
  55.     sort  | \
  56.     $(ZIP) yacl_all.zip -@
  57.  
  58. changezip:
  59.     rm -f changes.zip
  60.     find . -newer watmak.ctl \! \( -perm +u+x \) -print | \
  61.         egrep -v '\.[oa]' | sort  | \
  62.     $(ZIP) changes.zip -@
  63.  
  64. uizip:
  65.     rm -f yaclui.zip
  66.     (find ./ui ./uidemo \! \( -perm +u+x -o -name '*.o' -o -name \
  67.         '*.a' \)  -print; ls ./*.ctl ./makefile.* ./changlog ./*.txt)| sort | \
  68.     $(ZIP) yaclui.zip -@
  69.  
  70.  
  71.