From 441cbbb2e0c6feb0e76b6422f8e01b0dd0ac65f4 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 1 Jan 2010 20:06:34 +0000 Subject: [PATCH] For my own use in local Windows builds of the 'unfinished' puzzles, 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkfiles.pl b/mkfiles.pl index 796547a..93f3239 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -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"));