--- Makefile.orig	2002-11-19 13:11:47.000000000 -0500
+++ Makefile	2002-11-19 13:24:21.000000000 -0500
@@ -148,7 +148,7 @@$
 # On DEC OSF/1 and Digital UNIX VV4.0, add -std1 to enable ANSI C features
 # and perhaps -g3 for more debugging info with optimization.
 
+OPTFLAGS = -O
-OPTFLAGS = -O2 -march=i386 -mcpu=i686
 
 # For making dependencies under BSD systems
 DEPENDFLAG = -M
@@ -367,10 +367,10 @@
 	@echo so that the system recovers jove files on reboot after a crash
 
 $(LIBDIR)::
-	test -d $(LIBDIR) || mkdir $(LIBDIR)
+	test -d $(LIBDIR) || mkdir -p $(LIBDIR)
 
 $(SHAREDIR)::
-	test -d $(SHAREDIR) || mkdir $(SHAREDIR)
+	test -d $(SHAREDIR) || mkdir -p $(SHAREDIR)
 
 $(TEACH-JOVE): doc/teach-jove
 	$(TINSTALL) doc/teach-jove $(TEACH-JOVE)
