summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-11-20 21:15:08 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-11-20 21:15:08 +0000
commitd76c1e8cd0da9699a51042db01ebd67e87b6f9e2 (patch)
treefb1fbe22879f37f562b3acd3bdff473cb36bba13 /Makefile
parentac3ab91ca2d5a9f02b55e8b5fa15f4bd6db0dc4d (diff)
Remove unused variables.
Fix fltk-config --libs and fltk-config --ldstaticflags (STR #1799) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 27e7fb3d1..be1381750 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
#
# Top-level makefile for the Fast Light Tool Kit (FLTK).
#
-# Copyright 1998-2006 by Bill Spitzak and others.
+# Copyright 1998-2007 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
@@ -29,7 +29,7 @@ include makeinclude
DIRS = $(IMAGEDIRS) src fluid test documentation
-all: makeinclude
+all: makeinclude fltk-config
for dir in $(DIRS); do\
echo "=== making $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS)) || exit 1;\
@@ -90,6 +90,16 @@ distclean: clean
$(RM) test/`basename $$file .fl`.h; \
done
+fltk-config: configure configh.in fltk-config.in
+ if test -f config.status; then \
+ ./config.status --recheck; \
+ ./config.status; \
+ else \
+ ./configure; \
+ fi
+ touch config.h
+ chmod +x fltk-config
+
makeinclude: configure configh.in makeinclude.in
if test -f config.status; then \
./config.status --recheck; \