--- Imakefile.orig	Thu Jul 18 08:02:56 1996
+++ Imakefile	Sun Sep  8 03:41:59 2002
@@ -8,12 +8,12 @@
 
 XCOMM where to search for data-files, when not found in current dir
 
-         XMEMORYDIR = \"/usr/games/lib/xmemory\"
+         XMEMORYDIR = \"${LIBDIR}/xmemory\"
 
 XCOMM set the compiler that you like,
 XCOMM gcc should suit, since the libraries are not needed.
 
-                CXX = gcc
+                CXX ?= c++
 
 XCOMM #######################################################################
 
@@ -29,8 +29,7 @@
 	$(RM) $@
 	$(CXX) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
 
-InstallProgram(xmemory,$(BINDIR))
-InstallManPage(xmemory,$(MANDIR))
+ComplexCplusplusProgramTarget(xmemory)
 DependTarget()
 CleanTarget()
 
