From c5cf0f7a76e80996bd6d2786408cd24bbef605de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Fri, 24 Jun 2011 10:04:22 +0200 Subject: Fix compilation in subdir with NASM. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- common.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common.mak') diff --git a/common.mak b/common.mak index 9a59f77..66bbed4 100644 --- a/common.mak +++ b/common.mak @@ -26,7 +26,8 @@ $(foreach VAR,$(SILENT),$(eval override $(VAR) = @$($(VAR)))) $(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_DIR)/%=%)); $(INSTALL)) endif -IFLAGS := -I. -I$(SRC_PATH) +# NASM requires -I path terminated with / +IFLAGS := -I. -I$(SRC_PATH)/ CPPFLAGS := $(IFLAGS) $(CPPFLAGS) CFLAGS += $(ECFLAGS) YASMFLAGS += $(IFLAGS) -Pconfig.asm -- cgit v1.1