2022-07-21 05:45:12 +00:00
|
|
|
|
2022-08-05 04:21:07 +00:00
|
|
|
:: Compile UTF-8 resource into .obj file
|
|
|
|
:: this .obj file has to be linked to the executable using it, NOT archived
|
|
|
|
:: together with ciabatta.lib.
|
|
|
|
windres -o utf8.obj utf8.rc
|
|
|
|
ld -relocatable -o libwinsane.obj utf8.obj
|
|
|
|
|
|
|
|
:: Compile chkstk
|
2022-08-27 23:13:15 +00:00
|
|
|
nasm src\os_win\chkstk.asm -ochkstk.o -fwin64
|
2022-08-05 04:21:07 +00:00
|
|
|
|
|
|
|
:: Compile the rest of the party
|
2022-08-04 08:08:53 +00:00
|
|
|
clang -Wall src\ciabatta.c -o ciabatta.obj -c -DCIABATTA_WIN -I inc -I src\_win -nodefaultlibs -g -mfma
|
2022-08-05 04:21:07 +00:00
|
|
|
lib /nologo /out:ciabatta.lib chkstk.o ciabatta.obj
|