makefile - PARALLEL submakes -
i have been working makefiles reduce compilation time. have 2 questions
1) found if run make in sub directory of main directory, runs perfectly. mean subdirectory independent of other sub-directories , can run in parallel?
2) how run sub-makes being called recursively in parallel? tell me other -j
recently simplified makefile, prerequisite other changes add features , speed things up.
the simplification included removing use or recursive make. surprised discover build twice fast (from 40 minutes 20 minutes). use -j option, improving speed more.
i made other changes had smaller effect.
Comments
Post a Comment