handle wmake and gmake differences

wmake requires changing into directory as ignores -C option, gmake ignores cd into directory so requires -C subdir option
This commit is contained in:
Kenneth J Davis 2024-02-06 18:26:26 -05:00
parent 19c35ee574
commit 6a94489230
No known key found for this signature in database
GPG Key ID: 59D5F216C38F11FD

View File

@ -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