home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
freedraft.tar.gz
/
freedraft.tar
/
FREEdraft-050298
/
Makefile
< prev
next >
Wrap
Makefile
|
1998-05-01
|
3KB
|
103 lines
# FREEdraft main makefile
# Copyright (C) 1997 Cliff Johnson #
# #
# This program is free software; you can redistribute it and/or #
# modify it under the terms of the GNU General Public #
# License as published by the Free Software Foundation; either #
# version 2 of the License, or (at your option) any later version. #
# #
# This software is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this software (see COPYING.LIB); if not, write to the #
# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #
.SUFFIXES : . .cpp
FREEROOT=.
include Makefile.in
OBJECTS = \
$(HACKV)/fd_vbglcnv.o \
$(VIEWPORT)/vdglcanvas.o \
$(VIEWPORT)/vdcmdwin.o \
$(VIEWPORT)/vdapp.o \
$(VIEWPORT)/typemaskbehavior.o \
$(VIEWPORT)/pointstack.o \
$(VIEWPORT)/modifierbehavior.o \
$(VIEWPORT)/functionmapbehavior.o \
$(VIEWPORT)/canvasglstate.o \
$(DRAWABLES)/drawablepoint.o \
$(DRAWABLES)/drawableline.o \
$(DRAWABLES)/drawablecircle.o \
$(DRAWABLES)/drawablesegment.o \
$(DRAWABLES)/drawablearc.o \
$(DRAWABLES)/tabledrawables.o \
$(DRAWABLES)/drawableexception.o \
$(DATAENGINE)/handle.o \
$(DRAWABLES)/drawablegeom.o \
$(DATAENGINE)/geombank.o \
$(DATAENGINE)/engineutility.o \
$(DATAENGINE)/bankexception.o \
$(CORE)/selectstack.o \
$(CORE)/selection.o \
$(CORE)/attributes.o \
$(CORE)/coreexception.o \
$(CORE)/canvasregister.o \
$(CORE)/registeredentity.o \
$(CORE)/selectionfilter.o \
$(COMMAND)/menuhandler.o \
$(COMMAND)/comexception.o \
$(COMMAND)/colordialog.o \
$(COMMAND)/linestyledialog.o \
$(COMMAND)/inputstring.o \
$(COMMAND)/GEOMMENU/geommenuhandler.o \
$(COMMAND)/NOMENU/nomenuhandler.o \
$(COMMAND)/GEOMMENU/geommenuarcdialog.o \
$(COMMAND)/SAVERECALLMENU/saverecallmenuhandler.o \
$(COMMAND)/MEASUREMENTMENU/measurementmenuhandler.o
LIBDIRS = -L/usr/X11R6/lib
LIBS = -lV -lXaw3d -lXmu -lXt -lXext -lX11 -lGL -lGLw -lGLU -lm
all : objects geomlib2d
$(CXX) $(CFLAGS) $(OBJECTS) $(LIBDIRS) $(LIBS) -L$(GEOMLIB2D) -lGeom2D -o FREEdraft
objects :
cd $(COMMAND) ; $(MAKE)
cd $(CORE) ; $(MAKE)
cd $(DATAENGINE) ; $(MAKE)
cd $(DRAWABLES) ; $(MAKE)
cd $(VIEWPORT) ; $(MAKE)
cd $(HACKV) ; $(MAKE)
geomlib2d :
cd $(GEOMLIB2D) ; $(MAKE)
clean :
rm -f FREEdraft core
cd $(COMMAND) ; $(MAKE) clean
cd $(CORE) ; $(MAKE) clean
cd $(DATAENGINE) ; $(MAKE) clean
cd $(DRAWABLES) ; $(MAKE) clean
cd $(GEOMLIB2D) ; $(MAKE) clean
cd $(VIEWPORT) ; $(MAKE) clean
cd $(HACKV) ; $(MAKE) clean
vimclean : clean
rm -f *~
cd $(COMMAND) ; $(MAKE) vimclean
cd $(CORE) ; $(MAKE) vimclean
cd $(DATAENGINE) ; $(MAKE) vimclean
cd $(DRAWABLES) ; $(MAKE) vimclean
cd $(GEOMLIB2D) ; $(MAKE) vimclean
cd $(VIEWPORT) ; $(MAKE) vimclean
cd $(HACKV) ; $(MAKE) vimclean