From 7739f77980be760b31395546053577e9fe64ef10 Mon Sep 17 00:00:00 2001 From: Peter Hofmann Date: Thu, 9 Jul 2020 14:18:26 +0200 Subject: Fix build with non-GNU sed, lint variables --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ac21403..f05e448 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ CFLAGS += -Wall -Wextra -Wno-unused-parameter -O3 __NAME__ = lariza -__NAME_UPPERCASE__ = `echo $(__NAME__) | sed 's/.*/\U&/'` -__NAME_CAPITALIZED__ = `echo $(__NAME__) | sed 's/^./\U&\E/'` +__NAME_UPPERCASE__ = LARIZA INSTALL = install INSTALL_PROGRAM = $(INSTALL) @@ -25,7 +24,6 @@ $(__NAME__): browser.c $(CC) $(CFLAGS) $(LDFLAGS) \ -D__NAME__=\"$(__NAME__)\" \ -D__NAME_UPPERCASE__=\"$(__NAME_UPPERCASE__)\" \ - -D__NAME_CAPITALIZED__=\"$(__NAME_CAPITALIZED__)\" \ -o $@ $< \ `pkg-config --cflags --libs gtk+-3.0 glib-2.0 webkit2gtk-4.0` @@ -33,7 +31,6 @@ we_adblock.so: we_adblock.c $(CC) $(CFLAGS) $(LDFLAGS) \ -D__NAME__=\"$(__NAME__)\" \ -D__NAME_UPPERCASE__=\"$(__NAME_UPPERCASE__)\" \ - -D__NAME_CAPITALIZED__=\"$(__NAME_CAPITALIZED__)\" \ -shared -o $@ -fPIC $< \ `pkg-config --cflags --libs glib-2.0 webkit2gtk-4.0` -- cgit v1.2.3