summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-11-14 14:55:33 +0100
committerportix <portix@gmx.net>2011-11-14 14:55:33 +0100
commit07819a0b595a3e8b02f34caa36300712213ba5f2 (patch)
tree2b890388719e8fa676cf4d1df63018ac3b506df3 /src/Makefile
parent3cc5ba475829de44f3e5a8dc8cffb4ee4e09a7a5 (diff)
downloaddwb-07819a0b595a3e8b02f34caa36300712213ba5f2.zip
Use a plain text file for tlds
--HG-- branch : feature-adblock rename : src/effective_tld_names.dat => util/tlds.in
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Makefile b/src/Makefile
index ab97a99a..c76addbf 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -27,17 +27,17 @@ $(DTARGET): $(DOBJ)
@echo "$(CC) $@"
@$(CC) $(LDFLAGS) $(DOBJ) -o $(DTARGET)
-domain.o: tlds.h
-
-tlds.h: effective_tld_names.dat
- @echo gen tlds.h
- @echo "#ifndef TLDS_H" > $@
- @echo "#define TLDS_H" >> $@
- @echo "static char *effective_tlds[] = {" >> $@
- @sed '/^\/\/\|^\s*$$/d;s/\(.*\)/\t"\1",/' $< >> $@
- @echo -e "\tNULL," >> $@
- @echo "};" >> $@
- @echo "#endif" >> $@
+#domain.o: tlds.h
+#
+#tlds.h: effective_tld_names.dat
+# @echo gen tlds.h
+# @echo "#ifndef TLDS_H" > $@
+# @echo "#define TLDS_H" >> $@
+# @echo "static char *effective_tlds[] = {" >> $@
+# @sed '/^\/\/\|^\s*$$/d;s/\(.*\)/\t"\1",/' $< >> $@
+# @echo -e "\tNULL," >> $@
+# @echo "};" >> $@
+# @echo "#endif" >> $@
cgdb: debug