Skip to content

Commit 6a94489

Browse files
committed
handle wmake and gmake differences
wmake requires changing into directory as ignores -C option, gmake ignores cd into directory so requires -C subdir option
1 parent 19c35ee commit 6a94489

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ kernel.exe: $(TARGET).lnk $(OBJS) $(LIBS)
4343
$(LINK) @$(TARGET).lnk;
4444

4545
../bin/country.sys:
46+
# warning, both cd and -C options required, cd for wmake, -C for gmake
4647
cd ..$(DIRSEP)country
47-
$(MAKE) all
48+
$(MAKE) -C ..$(DIRSEP)country all
4849
$(CP) ..$(DIRSEP)country$(DIRSEP)country.sys ..$(DIRSEP)bin$(DIRSEP)country.sys
4950

5051
clobber: clean

0 commit comments

Comments
 (0)