chiark / gitweb /
For my own use in local Windows builds of the 'unfinished' puzzles,
authorSimon Tatham <anakin@pobox.com>
Fri, 1 Jan 2010 20:06:34 +0000 (20:06 +0000)
committerSimon Tatham <anakin@pobox.com>
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.

[originally from svn r8802]

mkfiles.pl

index 796547a4a7e247f49398039e818904e0b522efa8..93f32397f096c74e757509b28694c1fa92c25012 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"));