home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / freedraft.tar.gz / freedraft.tar / FREEdraft-050298 / DRAWABLES / Makefile < prev    next >
Makefile  |  1998-04-27  |  2KB  |  45 lines

  1. # DRAWABLES subdirectory Makefile
  2.  
  3. # Copyright (C) 1998  Cliff Johnson                                       #
  4. #                                                                         #
  5. # This program is free software; you can redistribute it and/or           #
  6. # modify it under the terms of the GNU  General Public                    #
  7. # License as published by the Free Software Foundation; either            #
  8. # version 2 of the License, or (at your option) any later version.        #
  9. #                                                                         #
  10. # This software is distributed in the hope that it will be useful,        #
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of          #
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       #
  13. # General Public License for more details.                                #
  14. #                                                                         #
  15. # You should have received a copy of the GNU General Public License       #
  16. # along with this software (see COPYING.LIB); if not, write to the        #
  17. # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #
  18.  
  19. FREEROOT=..
  20. include $(FREEROOT)/Makefile.in
  21.  
  22. SRCS = \
  23. drawablegeom.cpp \
  24. drawableline.cpp \
  25. drawablepoint.cpp \
  26. drawablecircle.cpp \
  27. drawablesegment.cpp \
  28. drawablearc.cpp \
  29. tabledrawables.cpp \
  30. drawableexception.cpp
  31.  
  32. OBJS = $(SRCS:%.cpp=%.o)
  33.  
  34. all : $(OBJS)
  35.  
  36. %.o : %.cpp
  37.     $(CXX) $*.cpp  $(CFLAGS) -c
  38.  
  39. clean : 
  40.     rm -f *.o
  41.  
  42. vimclean : clean
  43.     rm -f *~
  44.     
  45.