diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-09-14 22:14:56 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-09-14 22:14:56 +0100 |
commit | aee69a99c89429677f1275626d82b2b5514e1499 (patch) | |
tree | c86d78afc516a24eb3382954bdbe475c4bf3899b /src/Makefile | |
download | libnspsl-aee69a99c89429677f1275626d82b2b5514e1499.tar.gz libnspsl-aee69a99c89429677f1275626d82b2b5514e1499.tar.bz2 |
Initial working library
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..1121639 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,13 @@ +CFLAGS := $(CFLAGS) -I$(BUILDDIR) + +DIR_SOURCES := nspsl.c + +src/nspsl.c:$(BUILDDIR)/psl.inc + +$(BUILDDIR)/psl.inc:$(BUILDDIR)/public_suffix_list.dat + perl src/genpubsuffix.pl $< > $@ + +$(BUILDDIR)/public_suffix_list.dat: + wget -O $@ https://publicsuffix.org/list/public_suffix_list.dat + +include $(NSBUILD)/Makefile.subdir |