initial import
diff --git a/src/share/Makefile.vc b/src/share/Makefile.vc
new file mode 100644
index 0000000..96e7ed4
--- /dev/null
+++ b/src/share/Makefile.vc
@@ -0,0 +1,24 @@
+!include <win32.mak>
+
+!IFDEF DEBUG
+.c.obj:
+ $(cc) /D "_LIB" /GX $(cdebug) $(cflags) /I "..\..\include\share" -DSTRICT -YX /Od /D "_DEBUG" $<
+!else
+.c.obj:
+ $(cc) /D "_LIB" /O2 $(crelease) $(cflags) /I "..\..\include\share" -DSTRICT -YX -DNODEBUG $<
+!endif
+
+C_FILES= \
+ getopt.c \
+ getopt1.c
+
+OBJS= $(C_FILES:.c=.obj)
+
+all: getopt.lib
+
+getopt.lib: $(OBJS)
+ link.exe -lib /nodefaultlib -out:../../obj/lib/$*.lib $(OBJS)
+
+clean:
+ -del *.obj *.pch
+ -del ..\..\obj\lib\getopt.lib ..\..\obj\lib\getopt.pdb