bytebeat_compiler.py: make paths more native
This commit is contained in:
parent
a192380d10
commit
8327678c44
@ -8,8 +8,8 @@ import subprocess
|
||||
|
||||
# Paths
|
||||
PATHS = {
|
||||
"src_dir": "src/",
|
||||
"build_dir": "build/",
|
||||
"src_dir": "src",
|
||||
"build_dir": "build",
|
||||
"template": "template.c",
|
||||
"substitute": "substituted.c",
|
||||
"output": "render_bytebeat",
|
||||
@ -21,8 +21,8 @@ PATHS = {
|
||||
PATHS["template"] = path_join(PATHS["src_dir"], PATHS["template"])
|
||||
PATHS["substitute"] = path_join(PATHS["build_dir"], PATHS["substitute"])
|
||||
PATHS["output"] = path_join(PATHS["build_dir"], PATHS["output"])
|
||||
PATHS["fwrite_le_header"] = PATHS["src_dir"] + PATHS["fwrite_le_header"]
|
||||
PATHS["fwrite_le"] = PATHS["src_dir"] + PATHS["fwrite_le"]
|
||||
PATHS["fwrite_le_header"] = PATHS["src_dir"] + "/" + PATHS["fwrite_le_header"]
|
||||
PATHS["fwrite_le"] = path_join(PATHS["src_dir"], PATHS["fwrite_le"])
|
||||
|
||||
# Add `.` directory before all paths for compilation
|
||||
PATHS["template"] = path_join(".", PATHS["template"])
|
||||
|
Loading…
Reference in New Issue
Block a user