summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
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`