home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / contrib / bmp2vbm / Makefile < prev   
Makefile  |  1998-07-03  |  1KB  |  56 lines

  1. #===============================================================
  2. #  bmp2vbm  Makefile
  3. #
  4. #  Copyright (C) 1995  Bruce E. Wampler
  5. #
  6. #  This file is part of the V C++ GUI Framework.
  7. #
  8. #  This program is free software; you can redistribute it and/or modify
  9. #  it under the terms of the GNU General Public License as published by
  10. #  the Free Software Foundation; either version 2 of the License, or
  11. #  (at your option) any later version.
  12. #
  13. #  This program is distributed in the hope that it will be useful,
  14. #  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. #  GNU General Public License for more details.
  17. #===============================================================
  18.  
  19. CONFIG=../Config.mk
  20. include $(CONFIG)
  21.  
  22. #xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  23.  
  24. PROG=\
  25.     $(Bin)/b2v    
  26.  
  27. EXOBJS=\
  28.     $(oDir)/bmp2vbm.o
  29.  
  30. #xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  31.  
  32. .PHONY: default all objs clean cleanobj cleanall
  33.  
  34. default: all
  35.  
  36. all: $(PROG)
  37.  
  38. clean:
  39.     -rm -f $(CLEANEXTS)
  40.  
  41. cleanobj: clean
  42.     -rm -f $(EXOBJS)
  43.  
  44. cleanall: cleanobj
  45.     -rm -f $(PROG)
  46.  
  47. objs:    $(EXOBJS)
  48.  
  49. #xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  50.  
  51. $(PROG):    $(EXOBJS)
  52.     $(CXX) -o $@ $(EXOBJS)
  53.  
  54. $(oDir)/bmp2vbm.o:    bmp2vbm.cpp
  55.     $(CXX) -c $(CFLAGS) -o $@ $<                     
  56.