For my own use in local Windows builds of the 'unfinished' puzzles,
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 1 Jan 2010 20:06:34 +0000 (20:06 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 1 Jan 2010 20:06:34 +0000 (20:06 +0000)
add an include directory to the Windows makefile so that source
files in subdirectories can find the main headers.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8802 cda61777-01e9-0310-a592-d414129be87e

mkfiles.pl

index 796547a..93f3239 100755 (executable)
@@ -654,7 +654,7 @@ if (defined $makefiles{'vc'}) {
       "MAKEFILE = Makefile.vc\n".
       "\n".
       "# C compilation flags\n".
-      "CFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 /DWINVER=0x401\n".
+      "CFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 /DWINVER=0x401 /I.\n".
       "LFLAGS = /incremental:no /fixed\n".
       "\n";
     print &splitline("all:" . join "", map { " $_.exe" } &progrealnames("G:C"));