ciabatta/test/bake.bat

16 lines
433 B
Batchfile
Raw Normal View History

2022-06-02 05:18:26 +00:00
@echo off
2022-06-02 13:08:59 +00:00
pushd %~dp0
cl /nologo inctoarg.c
inctoarg > temp
set /P includes=<temp
del temp
cl /Zi /X /c /I ..\inc %includes% /nologo /GS- /Gm- /GR- /EHa- /Oi /W4 test.c
2022-06-02 13:08:59 +00:00
::clang -c -Wall test.c -otest1.obj
2022-06-02 05:18:26 +00:00
link /nologo test.obj /nodefaultlib user32.lib kernel32.lib ..\ciabatta.lib -debug -subsystem:console
2022-06-02 13:08:59 +00:00
::link /nologo test1.obj /nodefaultlib user32.lib kernel32.lib ..\lib\ciabatta.lib -subsystem:console
2022-06-02 19:55:10 +00:00
popd