$OpenBSD: patch-makefile_unix,v 1.10 2008/12/31 18:43:07 rui Exp $
--- makefile.unix.orig	Sun Dec 28 12:45:32 2008
+++ makefile.unix	Sun Dec 28 12:48:14 2008
@@ -107,9 +107,14 @@ OBJECTS=rar.o strlist.o strfn.o pathfn.o int64.o savep
 	resource.o match.o timefn.o rdwrfn.o consio.o options.o ulinks.o errhnd.o rarvm.o \
 	rijndael.o getbits.o sha1.o extinfo.o extract.o volume.o list.o find.o unpack.o cmddata.o
 
+.SUFFIXES: .cpp
+
 .cpp.o:
 	$(COMPILE) -D$(WHAT) -c $<
 
+recvol.o: recvol.cpp
+	$(COMPILE) $(EXTRA_CFLAGS) -D$(WHAT) -c $<
+
 all:	unrar
 
 install:	install-unrar
@@ -122,7 +127,6 @@ clean:
 unrar:	$(OBJECTS) $(UNRAR_OBJ)
 	@rm -f unrar
 	$(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)	
-	$(STRIP) unrar
 
 sfx:	WHAT=SFX_MODULE
 sfx:	$(OBJECTS)
