From d43afd8edc8d6787928008b701379f7adfbceb92 Mon Sep 17 00:00:00 2001 From: Sir Walrus Date: Wed, 22 May 2024 20:32:25 +0200 Subject: [PATCH] fix typo in error (#72) --- Makefile | 4 ++-- make.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d619031..2d2346d 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/make.sh b/make.sh index f06ca99..0ee89bd 100755 --- a/make.sh +++ b/make.sh @@ -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