Include the *right* fmt...

This commit is contained in:
David Given
2019-07-03 22:30:06 +02:00
parent 92601128c4
commit e2bb13ab16
2 changed files with 73 additions and 76 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
set -e
packages="zlib sqlite3 libusb-1.0"
pkgcflags=$(pkg-config --cflags $packages)
pkgcflags="$(pkg-config --cflags $packages) -Idep/fmt"
pkgldflags=$(pkg-config --libs $packages)
cat <<-EOF
@@ -113,7 +113,6 @@ runtest() {
buildlibrary lib$prog.a \
-Ilib \
-Idep \
$pkgcflags \
"$@"
@@ -132,7 +131,6 @@ buildlibrary libfmt.a \
buildlibrary libbackend.a \
-Ilib \
-Idep \
$pkgcflags \
lib/aeslanier/decoder.cc \
lib/amiga/decoder.cc \
@@ -176,7 +174,6 @@ buildlibrary libbackend.a \
buildlibrary libfrontend.a \
-Ilib \
-Idep \
src/fe-erase.cc \
src/fe-inspect.cc \
src/fe-readadfs.cc \