Fix Makefiles (particularly target 'clean').

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser
2016-02-27 01:24:32 +00:00
parent 81bd759b53
commit 12b3e335ed
2 changed files with 13 additions and 5 deletions
+2 -2
View File
@@ -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)
+11 -3
View File
@@ -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 \