summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index 5cc058f..f654739 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -18,7 +18,7 @@
#
# -------------------------------------------------------------------------
#
-# $Id: GNUmakefile,v 1.6 2005-04-04 00:52:23 ianc Exp $
+# $Id: GNUmakefile,v 1.7 2005-04-05 01:01:58 ianc Exp $
#
@@ -26,9 +26,9 @@
#
# The directory to install the built library, headers and docs into.
-# *** NB: USE FORWARD SLASHES ***
+# NB: Use *forward* slashes if setting to a DOS path.
#
-INSTALLDIR = C:/w32dlib
+INSTALLDIR = /usr/local
# Set this to one to generate a wd32lib-config and copy it to /usr/local/bin
# when installing.
@@ -46,7 +46,7 @@ DEBUG = -g -DW32D_DEBUG
# Do not change past here.
# Well, unless something doesn't work of course...
#
-TARGET = w32dlib.a
+TARGET = libw32dlib.a
SOURCES = autocheck.cpp \
button.cpp \
@@ -92,6 +92,9 @@ $(DOCDIR)/html/index.html: $(HEADERS)
clean:
-rm -f $(TARGET) $(OBJECTS) depend.mak
+install: $(TARGET)
+ ./install.sh $(INSTALLDIR) $(CREATECONF)
+
depend:
@echo Dependencies updated....
$(CXX) -MM $(FLAGS) $(SOURCES) > $(DEPEND)