summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-02-27 01:24:32 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-02-27 01:24:32 +0000
commit12b3e335edc5ab1a63e606ff0e7bf37a2fb6631b (patch)
tree70f29aaf8b90e0901955c38abab0f405959e7a69
parent81bd759b539fa0b5eb16c17d179bfc6dfb6cd80d (diff)
Fix Makefiles (particularly target 'clean').
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--fluid/Makefile4
-rw-r--r--src/Makefile14
2 files changed, 13 insertions, 5 deletions
diff --git a/fluid/Makefile b/fluid/Makefile
index ec25f35b7..a6ee5716d 100644
--- a/fluid/Makefile
+++ b/fluid/Makefile
@@ -3,7 +3,7 @@
#
# FLUID makefile for the Fast Light Tool Kit (FLTK).
#
-# Copyright 1998-2010 by Bill Spitzak and others.
+# Copyright 1998-2016 by Bill Spitzak and others.
#
# This library is free software. Distribution and use rights are outlined in
# the file "COPYING" which should have been included with this file. If this
@@ -57,7 +57,7 @@ fluid-shared$(EXEEXT): $(OBJECTS) ../src/$(DSONAME) ../src/$(FLDSONAME) \
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKSHARED) $(LDLIBS)
clean:
- -$(RM) *.o core.* *~ *.bck *.bck
+ -$(RM) *.o core.* *~ *.bck *.bck *.bak
-$(RM) core fluid$(EXEEXT) fluid-shared$(EXEEXT)
-$(RM) fluid.app/Contents/MacOS/fluid$(EXEEXT)
diff --git a/src/Makefile b/src/Makefile
index f594896bf..5a390538d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -535,9 +535,17 @@ mgwfltknox_images-$(FL_DSO_VERSION).dll: $(IMGLIBNAME) mgwfltknox-$(FL_DSO_VERSI
$(IMAGELIBS) $(LDLIBS)
clean:
- -$(RM) *.o xutf8/*.o *.dll.a core.* *~ *.bak *.bck
- -$(RM) drivers/GDI/*.o drivers/OpenGL/*.o drivers/Quartz/*.o drivers/Xlib/*.o
- -$(RM) $(DSONAME) $(FLDSONAME) $(GLDSONAME) $(IMGDSONAME) \
+ -$(RM) *.o xutf8/*.o *.dll.a core.* *~ *.bak *.bck
+ -$(RM) drivers/Cocoa/*.o
+ -$(RM) drivers/Darwin/*.o
+ -$(RM) drivers/GDI/*.o
+ -$(RM) drivers/OpenGL/*.o
+ -$(RM) drivers/Posix/*.o
+ -$(RM) drivers/Quartz/*.o
+ -$(RM) drivers/WinAPI/*.o
+ -$(RM) drivers/X11/*.o
+ -$(RM) drivers/Xlib/*.o
+ -$(RM) $(DSONAME) $(FLDSONAME) $(GLDSONAME) $(IMGDSONAME) \
$(LIBNAME) $(FLLIBNAME) $(GLLIBNAME) \
$(IMGLIBNAME) \
libfltk.so libfltk_forms.so libfltk_gl.so libfltk_images.so \