mirror of https://github.com/flysand7/ciabatta.git
12 lines
343 B
Batchfile
12 lines
343 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
set CIABATTA_OPTIONS=-Iinc -g -gcodeview -nodefaultlibs -D_CRT_SECURE_NO_WARNINGS
|
|
|
|
for /R %%F in (*.c) do (
|
|
clang -c -o build\%%~nF.obj %%F %CIABATTA_OPTIONS%
|
|
)
|
|
llvm-ar rc ciabatta.lib build\*.obj
|
|
|
|
clang test\test.c ciabatta.lib -lkernel32 -luser32 -lshell32 -nostdlib %CIABATTA_OPTIONS%
|