You would have to translate the make file to the corresponding VS project settings.
That are basically the compiler (
CFLAGS
) and linker (
LDFLAGS
) options, the include (
/I
) and library (
/libpath
) directories, and the library names. You can try to find the corresponding VS project settings or add them manually to the C/C++ resp. Linker
Command Line options.
If you have a look at those you should recognise the
/DHAVE_CONFIG_H
option which is used by
syscfg.h to include
config.h. So you have to copy the file
config/config.nt to
config.h into the source directory as done too by the make file:
$(OBJS): config.h
config.h: $(TOP)\config\config.nt
copy $(TOP)\config\config.nt config.h
That should avoid the errors about not finding the OS specific include files like
strings.h.
Note also that the make file creates the file
linkopt-c.msw which is then passed upon linking. So you have to create that file and add it to the VS link options or set all the files in the VS project link options.
Overall it is a lot of work with many possible errors.