mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
Updated makefiles for new heading and new top-level makefile.
git-svn-id: file:///fltk/svn/fltk/trunk@25 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,49 +1,51 @@
|
||||
#
|
||||
# "$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".
|
||||
#
|
||||
|
||||
SHELL=/bin/sh
|
||||
|
||||
all : src fluid test
|
||||
shared : srcshared fluid test
|
||||
lib : SRC
|
||||
src : SRC
|
||||
DIRS = src fluid test
|
||||
|
||||
SRC : makeinclude src/makedepend
|
||||
cd src && $(MAKE)
|
||||
src/makedepend :
|
||||
touch src/makedepend
|
||||
srcshared : makeinclude src/makedepend
|
||||
cd src && $(MAKE) shared
|
||||
all:
|
||||
for dir in $(DIRS); do\
|
||||
echo "=== making $$dir ===";\
|
||||
cd $$dir && $(MAKE);\
|
||||
done
|
||||
|
||||
fluid : FLUID
|
||||
FLUID : makeinclude fluid/makedepend
|
||||
cd fluid && $(MAKE)
|
||||
fluid/makedepend :
|
||||
touch fluid/makedepend
|
||||
install: all
|
||||
for dir in $(DIRS); do\
|
||||
echo "=== installing $$dir ===";\
|
||||
cd $$dir && $(MAKE) install;\
|
||||
done
|
||||
|
||||
test : TEST
|
||||
TEST : makeinclude
|
||||
cd test && $(MAKE)
|
||||
clean:
|
||||
-@ rm -f core config.cache *.o *.bck
|
||||
for dir in $(DIRS); do\
|
||||
echo "=== cleaning $$dir ===";\
|
||||
cd $$dir && $(MAKE) clean;\
|
||||
done
|
||||
|
||||
install : SRC FLUID
|
||||
cd src && $(MAKE) install
|
||||
cd fluid && $(MAKE) install
|
||||
|
||||
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)
|
||||
|
||||
makeinclude :
|
||||
./configure
|
||||
#
|
||||
# End of "$Id: Makefile,v 1.2 1998/10/20 21:06:17 mike Exp $".
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user