~ chicken-core (chicken-5) 5f7bda7df4ab2d2066257fc4024dbc1cc6c8ea15
commit 5f7bda7df4ab2d2066257fc4024dbc1cc6c8ea15 Author: felix <felix@call-with-current-continuation.org> AuthorDate: Mon Nov 8 20:24:54 2010 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Mon Nov 8 20:24:54 2010 +0100 added note about placement of INCLUDES variable diff --git a/rules.make b/rules.make index 59727d7c..7eae3b39 100644 --- a/rules.make +++ b/rules.make @@ -92,6 +92,12 @@ DISTFILES := $(sort $(DISTFILES)) ## ruleset evaluated by Make. This allows us to automatically generate ## similar rules for long lists of targets. +## Note: in some of the rules that follow it is important to add +## $(INCLUDES) last, because on raw mingw (using the DOS shell) the +## backslash in "-I.\" seems to be interpreted as a line-terminator. +## This may be caused by cmd.exe-stupidness or a bug in mingw32-make +## or some other obscure reason. + define declare-shared-library-object $(1)$(O): $(1).c chicken.h $$(CHICKEN_CONFIG_H) $$(C_COMPILER) $$(C_COMPILER_OPTIONS) \Trap