summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index c1409a59a..c2577c0d7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -582,6 +582,16 @@ mgwfltknox_images-$(FL_DSO_VERSION).dll: $(IMGLIBNAME) mgwfltknox-$(FL_DSO_VERSI
-L. -lfltk -Wl,--exclude-libs -Wl,libfltk_png.a \
$(IMAGELIBS) $(LDLIBS)
+# Note: The rebuild target can only be used if you have the original .fl
+# files. This is normally only used by the FLTK maintainers...
+# It *must* be executed *after* fluid has been built and
+# the libs must be rebuilt if any {.fl|.cxx|.h} files were changed.
+
+rebuild:
+ echo 'Rebuilding fluid (.fl) and .cxx/.h files from .fl files ...'
+ ../fluid/fluid$(EXEEXT) -u -c Fl_File_Chooser.fl
+ ../fluid/fluid$(EXEEXT) -u -c Fl_Help_Dialog.fl
+
clean:
-$(RM) *.o xutf8/*.o *.dll.a core.* *~ *.bak *.bck
-$(RM) drivers/Cocoa/*.o