mirror of https://git.kore.io/kore.git
No longer generate .objs as a default for orbit create.
This commit is contained in:
parent
e57a91a4e0
commit
818dd84acd
|
@ -90,7 +90,6 @@ static struct filegen gen_files[] = {
|
|||
static const char *gen_dirs[] = {
|
||||
"src",
|
||||
"conf",
|
||||
".objs",
|
||||
"static",
|
||||
NULL
|
||||
};
|
||||
|
@ -221,7 +220,6 @@ orbit_build(int argc, char **argv)
|
|||
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);
|
||||
|
@ -234,6 +232,11 @@ orbit_build(int argc, char **argv)
|
|||
if (unlink(cf->opath) == -1)
|
||||
printf("couldnt unlink %s\n", cf->opath);
|
||||
}
|
||||
|
||||
if (rmdir(spath) == -1)
|
||||
printf("couldn't rmdir %s\n", spath);
|
||||
|
||||
free(spath);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue