diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-20 21:06:19 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-20 21:06:19 +0000 |
| commit | 74858f12e3d2c25ce53aed7169178615596ae7aa (patch) | |
| tree | 4adc2aa65511a3699c7a93a3dda8c529b28e0c65 /Makefile | |
| parent | 53fcfae9cbd78186fb0d35b1e2cd8bccba9f1602 (diff) | |
Updated makefiles for new heading and new top-level makefile.
git-svn-id: file:///fltk/svn/fltk/trunk@25 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 96 |
1 files changed, 49 insertions, 47 deletions
@@ -1,49 +1,51 @@ -SHELL=/bin/sh - -all : src fluid test -shared : srcshared fluid test -lib : SRC -src : SRC - -SRC : makeinclude src/makedepend - cd src && $(MAKE) -src/makedepend : - touch src/makedepend -srcshared : makeinclude src/makedepend - cd src && $(MAKE) shared - -fluid : FLUID -FLUID : makeinclude fluid/makedepend - cd fluid && $(MAKE) -fluid/makedepend : - touch fluid/makedepend - -test : TEST -TEST : makeinclude - cd test && $(MAKE) - -install : SRC FLUID - cd src && $(MAKE) install - cd fluid && $(MAKE) install +# +# "$Id" +# +# Top-level makefile for the Fast Light Tool Kit (FLTK). +# +# Copyright 1998 by Bill Spitzak and others. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library 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 +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. +# +# Please report all bugs and problems to "fltk-bugs@easysw.com". +# -uninstall : makeinclude src/makedepend fluid/makedepend - cd src && $(MAKE) uninstall - cd fluid && $(MAKE) uninstall - -clean : - -@ rm -f *.o core *~ - cd src && $(MAKE) clean - cd fluid && $(MAKE) clean - cd test && $(MAKE) clean - -distclean : clean - -@ rm config.* makeinclude - -realclean : distclean - -include ./version -dist : - ./makedist $(VERSION).$(REVISION) +SHELL=/bin/sh -makeinclude : - ./configure +DIRS = src fluid test + +all: + for dir in $(DIRS); do\ + echo "=== making $$dir ===";\ + cd $$dir && $(MAKE);\ + done + +install: all + for dir in $(DIRS); do\ + echo "=== installing $$dir ===";\ + cd $$dir && $(MAKE) install;\ + done + +clean: + -@ rm -f core config.cache *.o *.bck + for dir in $(DIRS); do\ + echo "=== cleaning $$dir ===";\ + cd $$dir && $(MAKE) clean;\ + done + +# +# End of "$Id: Makefile,v 1.2 1998/10/20 21:06:17 mike Exp $". +# |
