diff options
author | Peter Hofmann <scm@uninformativ.de> | 2020-07-09 14:18:26 +0200 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2020-07-09 14:18:26 +0200 |
commit | 7739f77980be760b31395546053577e9fe64ef10 (patch) | |
tree | add85c7353e7e9697f56fdb45183a725f657d746 /Makefile | |
parent | 7f133e35747e63d7e99a4eb89cb5e02a75486a39 (diff) | |
download | lariza-7739f77980be760b31395546053577e9fe64ef10.tar.gz |
Fix build with non-GNU sed, lint variables
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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` |