mirror of https://git.kore.io/kore.git
Create .objs when doing orbit build if it doesnt exist
This commit is contained in:
parent
0c21c08b6d
commit
e57a91a4e0
|
@ -218,6 +218,11 @@ orbit_build(int argc, char **argv)
|
|||
orbit_find_cfiles(spath);
|
||||
free(spath);
|
||||
|
||||
orbit_vasprintf(&spath, "%s/.objs", rootdir);
|
||||
if (!orbit_dir_exists(spath))
|
||||
orbit_mkdir(spath, 0755);
|
||||
free(spath);
|
||||
|
||||
TAILQ_FOREACH(cf, &source_files, list) {
|
||||
printf("compiling %s\n", cf->fpath);
|
||||
orbit_spawn_proc(orbit_compile_cfile, cf);
|
||||
|
|
Loading…
Reference in New Issue