mirror of https://github.com/flysand7/ciabatta.git
16 lines
426 B
Batchfile
16 lines
426 B
Batchfile
@echo off
|
|
pushd %~dp0
|
|
|
|
cl /nologo inctoarg.c
|
|
inctoarg > temp
|
|
set /P includes=<temp
|
|
del temp
|
|
|
|
cl /Z7 /X /c /I ..\inc %includes% /nologo /GS- /Gm- /GR- /EHa- /Oi /W4 test.c
|
|
::clang -c -Wall test.c -otest1.obj
|
|
|
|
link /nologo test.obj /nodefaultlib user32.lib kernel32.lib ..\ciabatta.lib -subsystem:console
|
|
::link /nologo test1.obj /nodefaultlib user32.lib kernel32.lib ..\lib\ciabatta.lib -subsystem:console
|
|
|
|
popd
|