mirror of https://github.com/FDOS/kernel.git
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:
parent
19c35ee574
commit
6a94489230
|
@ -43,8 +43,9 @@ kernel.exe: $(TARGET).lnk $(OBJS) $(LIBS)
|
||||||
$(LINK) @$(TARGET).lnk;
|
$(LINK) @$(TARGET).lnk;
|
||||||
|
|
||||||
../bin/country.sys:
|
../bin/country.sys:
|
||||||
|
# warning, both cd and -C options required, cd for wmake, -C for gmake
|
||||||
cd ..$(DIRSEP)country
|
cd ..$(DIRSEP)country
|
||||||
$(MAKE) all
|
$(MAKE) -C ..$(DIRSEP)country all
|
||||||
$(CP) ..$(DIRSEP)country$(DIRSEP)country.sys ..$(DIRSEP)bin$(DIRSEP)country.sys
|
$(CP) ..$(DIRSEP)country$(DIRSEP)country.sys ..$(DIRSEP)bin$(DIRSEP)country.sys
|
||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
|
|
Loading…
Reference in New Issue