From dd0503576da04e77207e997ca5ababd81e3dc23d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 18 Apr 2005 20:23:29 +0000 Subject: Fix compiler warnings. Add demo.menu and all xbm and xpm files in test directory to install list. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/Makefile | 2 +- test/demo.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/Makefile b/test/Makefile index ebc4e2f97..2886ed15e 100644 --- a/test/Makefile +++ b/test/Makefile @@ -175,7 +175,7 @@ clean: install: echo "Installing example programs to $(DESTDIR)$(docdir)/examples..." -$(MKDIR) $(DESTDIR)$(docdir)/examples - $(CP) *.h *.cxx *.fl $(DESTDIR)$(docdir)/examples + $(CP) *.h *.cxx *.fl demo.menu *.xbm *.xpm $(DESTDIR)$(docdir)/examples $(CHMOD) 644 $(DESTDIR)$(docdir)/examples/*.* uninstall: diff --git a/test/demo.cxx b/test/demo.cxx index 263ab5451..9859d0295 100644 --- a/test/demo.cxx +++ b/test/demo.cxx @@ -315,7 +315,7 @@ int load_the_menu(const char* fname) } int main(int argc, char **argv) { - putenv("FLTK_DOCDIR=../documentation"); + putenv((char *)"FLTK_DOCDIR=../documentation"); create_the_forms(); char buf[256]; strcpy(buf, argv[0]); -- cgit v1.2.3