summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2c9a12f..cb3fd29 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
CFLAGS += -Wall -Wextra -O3
+__NAME__ = zea
-zea: zea.c
+$(__NAME__): browser.c
$(CC) $(CFLAGS) $(LDFLAGS) \
+ -D__NAME__=\"$(__NAME__)\" \
-o $@ $< \
`pkg-config --cflags --libs gtk+-2.0 glib-2.0 webkit-1.0`
clean:
- rm -f zea
+ rm -f $(__NAME__)