fix typo in error (#72)

This commit is contained in:
Sir Walrus
2024-05-22 20:32:25 +02:00
parent adad86b47c
commit d43afd8edc
2 changed files with 5 additions and 5 deletions

View File

@@ -60,8 +60,8 @@ ifeq ($(TARGET),gtk)
$(warning pkg-config can't find gtk+-3.0, or pkg-config itself can't be found)
$(warning if you have the needed files installed, specify their locations and names with `make GTKFLAGS='-I/usr/include' GTKLIBS='-L/usr/lib -lgtk'`)
$(warning if not, the package names under Debian and derivates are 'pkg-config libgtk-3-dev'; for other distros, consult a search engine)
$(warning If you instead want to build the CLI version, set the TARGET environment variable to nothing, like so:)
$(warning TARGET='' make)
$(warning If you instead want to build the CLI version, set the TARGET environment variable like so:)
$(warning TARGET=cli make)
$(error Can't build gtk target without gtk dependencies)
endif
endif

View File

@@ -44,7 +44,7 @@ done
if [ $PROFILE = yes ]; then
echo 'GTK+ (1/3)'
rm obj/* flips; TARGET=gtk make CFLAGS="$FLAGS$LINFLAGS -fprofile-generate -lgcov" || exit $?
rm obj/* flips; make CFLAGS="$FLAGS$LINFLAGS -fprofile-generate -lgcov" || exit $?
[ -e flips ] || exit 1
echo 'GTK+ (2/3)'
@@ -61,7 +61,7 @@ $TIME ./flips --create --bps-delta profile/firefox-10.0esr.tar profile/f
$TIME ./flips --create --bps-delta-moremem profile/firefox-10.0esr.tar profile/firefox-17.0esr.tar /dev/null
echo 'GTK+ (3/3)'
rm flips; TARGET=gtk make CFLAGS="$FLAGS$LINFLAGS -fprofile-use" || exit $?
rm flips; make CFLAGS="$FLAGS$LINFLAGS -fprofile-use" || exit $?
else
rm flips; TARGET=gtk make CFLAGS="$FLAGS$LINFLAGS" || exit $?
rm flips; make CFLAGS="$FLAGS$LINFLAGS" || exit $?
fi