Fixup ninja build more.

This commit is contained in:
Brad Nelson
2023-12-23 18:14:32 -08:00
parent 7455e6b511
commit 8f0aaba643
7 changed files with 61 additions and 26 deletions

View File

@ -19,12 +19,14 @@ Importation('gen/windows_boot_extra.h', '$src/windows/windows_boot_extra.fs',
header_mode='win', name='boot_extra')
# Compile Win32.
Alias('win32', 'windows/uEf32.exe')
CompileW32('windows/uEf32.obj', '$src/windows/main.c',
implicit=['gen/windows_boot.h', 'gen/windows_boot_extra.h'])
LinkW32('windows/uEf32.exe',
' '.join(['windows/uEf32.obj', 'resources/ueforth_res32.res']))
# Compile Win64.
Alias('win64', 'windows/uEf64.exe')
CompileW64('windows/uEf64.obj', '$src/windows/main.c',
implicit=['gen/windows_boot.h', 'gen/windows_boot_extra.h'])
LinkW64('windows/uEf64.exe',