diff --git a/src/Makefile.vc6 b/src/Makefile.vc6
index bd60fc2..c2e7533 100644
--- a/src/Makefile.vc6
+++ b/src/Makefile.vc6
@@ -102,7 +102,7 @@ RELEASE_OBJS= \
 	strtoofftr.obj \
 	urlglobr.obj \
 	writeoutr.obj \
-	xattrr.obj \
+	xattr.obj \
 	curlr.res
 
 DEBUG_OBJS= \
@@ -242,6 +242,8 @@ debug: $(DEBUG_OBJS)
 ## Release
 hugehelpr.obj: hugehelp.c
 	$(CCR) $(CFLAGS) /Zm200 /Fo"$@" hugehelp.c
+xattr.obj: xattr.c
+	$(CCR) $(CFLAGS) /Fo"$@" xattr.c
 writeoutr.obj: writeout.c
 	$(CCR) $(CFLAGS) /Fo"$@" writeout.c
 urlglobr.obj: urlglob.c
@@ -268,6 +270,8 @@ curlr.res : curl.rc
 ## Debug
 hugehelpd.obj: hugehelp.c
 	$(CCD) $(CFLAGS) /Zm200 /Fo"$@" hugehelp.c
+xattr.obj: xattr.c
+	$(CCD) $(CFLAGS) /Fo"$@" xattr.c
 writeoutd.obj: writeout.c
 	$(CCD) $(CFLAGS) /Fo"$@" writeout.c
 urlglobd.obj: urlglob.c
