I could identify two issues in the Makefile but I am not exactly sure how to fix them because of my poor knowledge of make and Makefile features and uncertainty as to what exactly needs to be built and linked.
Issue 1
Commands to generate C source code from HTML and Javascript files fail on Windows because directory separator in these commands are kept as forward slash (not substituted to backslash). E.g.
build/windows/lib/txt2c/txt2c webgui/webgui.html build/windows/src/common/gen-webgui.html.c webgui_html
should be
build\windows\lib\txt2c\txt2c webgui\webgui.html build\windows\src\common\gen-webgui.html.c webgui_html
Side note: some Windows users could use Git Bash available in their installation of Git. I may try to add some conditions that could modify the make process if started on Windows but using Bash. This is detectable by checking SHELL environment variable: it contains /usr/bin/bash if running in Bash and does not exist in CMD.EXE. Similarly, there may be some more differences if the make is run from Powershell. To mention just one general difference, Powershell commands never use slash / for command line parameters, instead they are prefixed with hyphen -. (Oh, nightmare)
Issue 2
The linker command refers file build/windows/common/ardopcf.o, but this file is not built (does not exist). ardopcf.o is not included in the OBJS variable and stands alone in OBJS_EXE as the only file. I will try to look why it is not compiled but cannot promise anything, being quite unfamiliar with the recent days make.
I could identify two issues in the Makefile but I am not exactly sure how to fix them because of my poor knowledge of make and Makefile features and uncertainty as to what exactly needs to be built and linked.
Issue 1
Commands to generate C source code from HTML and Javascript files fail on Windows because directory separator in these commands are kept as forward slash (not substituted to backslash). E.g.
should be
Side note: some Windows users could use Git Bash available in their installation of Git. I may try to add some conditions that could modify the make process if started on Windows but using Bash. This is detectable by checking SHELL environment variable: it contains /usr/bin/bash if running in Bash and does not exist in CMD.EXE. Similarly, there may be some more differences if the make is run from Powershell. To mention just one general difference, Powershell commands never use slash / for command line parameters, instead they are prefixed with hyphen -. (Oh, nightmare)
Issue 2
The linker command refers file build/windows/common/ardopcf.o, but this file is not built (does not exist). ardopcf.o is not included in the OBJS variable and stands alone in OBJS_EXE as the only file. I will try to look why it is not compiled but cannot promise anything, being quite unfamiliar with the recent days make.