mirror of https://github.com/zeldaret/tp.git
dol2asm: apply makefile changes from bc428f7f65
This commit is contained in:
parent
309148334f
commit
95e34e69fd
|
|
@ -61,8 +61,8 @@ async def create_library(library: Library):
|
|||
await builder.write(f"{o_path}/%.o: {cpp_path}/%.cpp")
|
||||
await builder.write(f"\t@mkdir -p $(@D)")
|
||||
await builder.write(f"\t@echo building... $<")
|
||||
await builder.write(f"\t@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp")
|
||||
await builder.write(f"\t@$(CC) $(CFLAGS) $({prefix}_CFLAGS) -c -o $@ $@.iconv.cpp")
|
||||
await builder.write(f"\t@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp")
|
||||
await builder.write(f"\t@$(CC) $(CFLAGS) $({prefix}_CFLAGS) -c -o $@ $(basename $@).cpp")
|
||||
await builder.write("")
|
||||
|
||||
debug(f"generated Makefile: '{makefile_path}'")
|
||||
|
|
@ -149,8 +149,8 @@ async def create_rel(module: Module, rel_path: Path):
|
|||
await builder.write(f"{o_path}/%.o: {cpp_path}/%.cpp")
|
||||
await builder.write(f"\t@echo [{module.index:>3}] building $@")
|
||||
await builder.write(f"\t@mkdir -p $(@D)")
|
||||
await builder.write(f"\t@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp")
|
||||
await builder.write(f"\t@$(CC) $(CFLAGS) $({prefix}_CFLAGS) -c -o $@ $@.iconv.cpp")
|
||||
await builder.write(f"\t@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp")
|
||||
await builder.write(f"\t@$(CC) $(CFLAGS) $({prefix}_CFLAGS) -c -o $@ $(basename $@).cpp")
|
||||
await builder.write("")
|
||||
|
||||
for library in libraries[1:]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue