compiling the SDK under cygwin
Posted: Wed Apr 27, 2005 7:58 am
In the last SDK makefiles, some definitions have been added to take in account a cygwin environment running IN a DOS shell...
I'm mainly refering to defs.mak, where now we have :
ok, I know it's not a big deal to remove these things, but this kind of "hack" (If I can say) should not be in the sdk makefiles... no ?
evilo.
I'm mainly refering to defs.mak, where now we have :
Only problem is that now, unless you remove the above lines, it fails when running it from a real cygwin shell, since these cyg-xxxxx commands are obviously unknow...SYSTEM := $(shell uname)
ifeq ($(SYSTEM),CYGWIN_NT-5.1)
# these versions are used for the cygwin toolchain in a dos environment
# since they need to overwrite the standard dos versions of each command
MKDIR = cyg-mkdir
RMDIR = cyg-rmdir
ECHO = cyg-echo
else
MKDIR = mkdir
RMDIR = rmdir
ECHO = echo
endif
ok, I know it's not a big deal to remove these things, but this kind of "hack" (If I can say) should not be in the sdk makefiles... no ?
evilo.