Note that the source tree also contains a HTML help project, in the folder winboard/help. So it seems a good idea to let that automatically build, and create a dependence on $(PROJ).chm in stead of the .hlp file.CThinker wrote:5. The help cannot be built with newer VS tools because they have moved to the new HTML help format. So, I have to remove it from the makefile.
this:
$(PROJ).exe: $(OBJS) $(PROJ).res $(PROJ).hlp
$(LINK) $(LFLAGS) $(OBJS) wsock32.lib comctl32.lib winmm.lib shell32.lib\
oldnames.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib\
$(PROJ).res -out:$(PROJ).exe
becomes:
$(PROJ).exe: $(OBJS) $(PROJ).res
$(LINK) $(LFLAGS) $(OBJS) wsock32.lib comctl32.lib winmm.lib shell32.lib\
oldnames.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib\
$(PROJ).res -out:$(PROJ).exe
Does anyone know how to do that?