Development > Newbie Coding

(log) Actually got new build system to (partially) work on Windows 7

<< < (11/13) > >>

Muton:

--- Quote from: Mattn on October 23, 2010, 07:44:28 pm ---i've applied it to master without that Windows_NT hack

--- End quote ---

OS is an environment var in Win(nt)
Its also present inside of mingw
but no other machine should have it
at least not set to Windows_NT

Muton:


define $(BASE_DIR)/0models.pk3
   -r models/*.mdx models/*.md2 models/*.md3 models/*.dpm models/*.obj models/*.jpg models/*.png models/*.tga models/*.anm models/*.tag
endef

is mirrored (bug)
you have to remove on

mikeg:
Hello,

just a small improvement - see attached patch. I also want to get rid of the first tasks, I want to implement a caching function for all tasks in Makefile and friends, which take a long time (file system searches, git check, etc).

Just to explain why I want to do this, please correct me, if I'm not right with that: I use Mingw/Msys to compile on Windows 7. I just type make in msys shell and this is the time it takes for doing nothing:


--- Code: ---$ time { make; }
make: Nothing to be done for `all'.

real    0m29.291s
user    0m9.715s
sys     0m18.212s

--- End code ---

I see there are some time consuming tasks such as find and I love to see that tasks are only done if I want to do it, for example after a make clean. How long does a build on Linux or other machines takes of there is nothing to do?

Best regards

Mattn:
try make -r

Mattn:
here the time if nothing must be done.

real   0m1.381s
user   0m1.080s
sys   0m0.070s

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version