reorganize project files
This commit is contained in:
6
build.c
6
build.c
@@ -206,7 +206,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
cmd_append(&cmd, "-o", binary_path);
|
||||
cmd_append(&cmd, "src/main.c");
|
||||
cmd_append(&cmd, "src/daw/daw_main.c");
|
||||
|
||||
// Reset language mode so .a is treated as a library, not source
|
||||
cmd_append(&cmd, "-x", "none");
|
||||
@@ -465,7 +465,7 @@ int main(int argc, char **argv) {
|
||||
cmd_append(&cmd, temp_sprintf("/Fo:%s/", build_dir));
|
||||
cmd_append(&cmd, temp_sprintf("/Fd:%s/autosample.pdb", build_dir));
|
||||
|
||||
cmd_append(&cmd, "src/main.c");
|
||||
cmd_append(&cmd, "src/daw/daw_main.c");
|
||||
|
||||
cmd_append(&cmd, "/link");
|
||||
cmd_append(&cmd, "/MACHINE:X64");
|
||||
@@ -483,7 +483,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
// Clean up obj files
|
||||
delete_file(temp_sprintf("%s/main.obj", build_dir));
|
||||
delete_file(temp_sprintf("%s/daw_main.obj", build_dir));
|
||||
|
||||
build_log(LOG_INFO, "Build complete: %s/autosample.exe", build_dir);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user