diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-16 00:01:49 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-16 00:01:49 +0000 |
| commit | b41cf28662fe5734530f280cc0dbb34bbf6aa25a (patch) | |
| tree | e6afdba0c544657c7a60198d5ed984feb5edf90c /test/Makefile | |
| parent | 91c3b8231de57e381d33b154852092c04ab96f14 (diff) | |
Update "clean" targets to properly handle core files, remove backup files,
etc.
Add "install" target to test directory which installs the example programs.
Install the config.h file in the examples directory.
Make sure the example programs compile outside the FLTK source dir.
Add example programs to fltk.list.in.
Fix missing redraw() in x_cb() in FLUID...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/Makefile')
| -rw-r--r-- | test/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile index 49eb45770..6730f6068 100644 --- a/test/Makefile +++ b/test/Makefile @@ -167,14 +167,18 @@ depend: $(CPPFILES) include makedepend clean: - -@ rm -f $(ALL) $(GLALL) *.o core *~ + -$(RM) $(ALL) $(GLALL) core + -$(RM) *.o core.* *~ *.bck *.bak install: - @echo Nothing to install in test directory. + echo "Installing example programs to $(DESTDIR)$(docdir)/examples..." + -$(MKDIR) $(DESTDIR)$(docdir)/examples + $(CP) *.h *.cxx *.fl $(DESTDIR)$(docdir)/examples + $(CHMOD) 644 $(DESTDIR)$(docdir)/examples/*.* uninstall: - @echo Nothing to uninstall in test directory. - + echo "Removing examples programs from $(DESTDIR)$(docdir)/examples..." + -$(RMDIR) $(DESTDIR)$(docdir)/examples # FLUID file rules .fl.cxx .fl.h: ../fluid/fluid$(EXEEXT) |
