$OpenBSD: patch-makefile_unix,v 1.8 2007/11/06 09:44:54 jasper Exp $ --- makefile.unix.orig Sat Apr 30 09:00:12 2005 +++ makefile.unix Mon Nov 5 23:52:04 2007 @@ -93,19 +93,23 @@ 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 clean: @rm -f *.o *.bak *~ -unrar: WHAT=UNRAR +WHAT=UNRAR unrar: $(OBJECTS) $(UNRAR_OBJ) @rm -f unrar $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS) - $(STRIP) unrar sfx: WHAT=SFX_MODULE sfx: $(OBJECTS)