  
  $(SONAME): .depend $(OBJS) $(OBJASM)
  	$(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
-@@ -134,14 +134,14 @@
- distclean: clean
- 	rm -f config.mak config.h vfw/build/cygwin/config.mak gtk/config.mak x264.pc
+@@ -138,14 +138,14 @@
+ 	rm -f config.mak config.h vfw/build/cygwin/config.mak x264.pc
+ 	$(MAKE) -C gtk distclean
  
 -install: x264 $(SONAME)
 +install: x264$(EXE)

 DEVNULL=$DEVNULL
Index: Makefile
===================================================================
--- Makefile	(revision 538)
+++ Makefile	(working copy)
@@ -64,8 +64,8 @@
 default: $(DEP) x264$(EXE)
 

 # autodetect options that weren't forced nor disabled
 
 if test "$pthread" = "auto" ; then
@@ -365,6 +374,9 @@
 VFW=$vfw
 GTK=$gtk
 EXE=$EXE
+AR=$AR
+AROPTS=$AROPTS
