diff --git a/CHANGES b/CHANGES index 3beb0fbcb..6f623e3a1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ CHANGES IN FLTK 1.1.8 + - Fixed 'make distclean' to remove binaries inside + MacOS app packages (STR #1169) - Fluid Code Viewer is now truly a viewer, not a text editor because edited text can not be saved. - Fl_Spinner is now fully supported by Fluid (STR #1158) diff --git a/Makefile b/Makefile index d2d64fcf3..4c90ab132 100644 --- a/Makefile +++ b/Makefile @@ -85,8 +85,8 @@ distclean: clean $(RM) documentation/fltk.ps $(RM) -r documentation/fltk.d for file in test/*.fl; do\ - $(RM) test/`basename $file .fl`.cxx; \ - $(RM) test/`basename $file .fl`.h; \ + $(RM) test/`basename $$file .fl`.cxx; \ + $(RM) test/`basename $$file .fl`.h; \ done makeinclude: configure configh.in makeinclude.in diff --git a/fluid/Makefile b/fluid/Makefile index 92eba552a..a85634711 100644 --- a/fluid/Makefile +++ b/fluid/Makefile @@ -70,6 +70,7 @@ fluid-shared$(EXEEXT): $(OBJECTS) ../src/$(DSONAME) ../src/$(FLDSONAME) \ clean: -$(RM) *.o core.* *~ *.bck *.bck -$(RM) core fluid$(EXEEXT) fluid-shared$(EXEEXT) + -$(RM) fluid.app/Contents/MacOS/fluid depend: $(CPPFILES) makedepend -Y -I.. -f makedepend $(CPPFILES) diff --git a/test/Makefile b/test/Makefile index 3aa9463a9..12d23d6b2 100644 --- a/test/Makefile +++ b/test/Makefile @@ -173,6 +173,8 @@ include makedepend clean: -$(RM) $(ALL) $(GLALL) core -$(RM) *.o core.* *~ *.bck *.bak + -$(RM) checkers.app/Contents/MacOS/checkers + -$(RM) sudoku.app/Contents/MacOS/sudoku install: echo "Installing example programs to $(DESTDIR)$(docdir)/examples..."