$OpenBSD: patch-makefile_unix,v 1.1 2003/04/16 20:59:18 sturm Exp $
--- makefile.unix.orig	Fri Jan  3 19:14:22 2003
+++ makefile.unix	Mon Apr 14 21:50:54 2003
@@ -48,6 +48,8 @@ OBJECTS=rar.o strlist.o strfn.o pathfn.o
 	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 $<
 
@@ -56,7 +58,7 @@ all:	unrar
 clean:
 	@rm -f *.o *.bak *~
 
-unrar:	WHAT=UNRAR
+WHAT=UNRAR
 unrar:	$(OBJECTS) $(UNRAR_OBJ)
 	@rm -f makeunrar
 	$(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)	
