
6 changed files with 37 additions and 311 deletions
@ -0,0 +1,5 @@ |
|||
all: |
|||
ninja -C build |
|||
|
|||
install: |
|||
DESTDIR=$(DESTDIR) ninja -C build |
@ -0,0 +1,21 @@ |
|||
#!/bin/bash -e |
|||
|
|||
cflags=CFLAGS="$CFLAGS" |
|||
cxxflags=CXXFLAGS="$CXXFLAGS" |
|||
declare -a args |
|||
j=0 |
|||
for i in "$@"; do |
|||
case "$i" in |
|||
CFLAGS=*) |
|||
cflags="$i";; |
|||
CXXFLAGS=*) |
|||
cxxflags="$i";; |
|||
*) |
|||
args[$j]="$i" |
|||
j=$((j+1)) |
|||
esac |
|||
done |
|||
|
|||
export "$cflags" "$cxxflags" |
|||
set -x |
|||
exec meson build "${args[@]}" |
Loading…
Reference in new issue