From 6a9448923047972d43c521f401fcdc0dd845075d Mon Sep 17 00:00:00 2001 From: Kenneth J Davis Date: Tue, 6 Feb 2024 18:26:26 -0500 Subject: [PATCH] handle wmake and gmake differences wmake requires changing into directory as ignores -C option, gmake ignores cd into directory so requires -C subdir option --- kernel/makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/makefile b/kernel/makefile index e0f02a1..3018b41 100644 --- a/kernel/makefile +++ b/kernel/makefile @@ -43,8 +43,9 @@ kernel.exe: $(TARGET).lnk $(OBJS) $(LIBS) $(LINK) @$(TARGET).lnk; ../bin/country.sys: + # warning, both cd and -C options required, cd for wmake, -C for gmake cd ..$(DIRSEP)country - $(MAKE) all + $(MAKE) -C ..$(DIRSEP)country all $(CP) ..$(DIRSEP)country$(DIRSEP)country.sys ..$(DIRSEP)bin$(DIRSEP)country.sys clobber: clean