diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 20:19:36 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 20:19:36 -0800 |
commit | 82811caa1da07a865a076d4db93236872221c578 (patch) | |
tree | 9dc3a21ade638617e4f55217c80795ae9c17bfaf /Makefile.old | |
parent | 4f597863da9a06972124e76bdfa7cc45d8aa7b84 (diff) |
Removed Makefile.old.
Diffstat (limited to 'Makefile.old')
-rw-r--r-- | Makefile.old | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/Makefile.old b/Makefile.old deleted file mode 100644 index bbfe06c..0000000 --- a/Makefile.old +++ /dev/null @@ -1,47 +0,0 @@ -PREFIX?=/usr/local -SRCDIR?=src -CFLAGS?=-g -O3 -Wall -Wextra -std=c99 -Isrc -Wno-missing-field-initializers -fPIC $(OPTCFLAGS) -LDFLAGS?=-g -O3 -Wall -Werror -fPIC $(OPTLDFLAGS) - -HTML_OBJ=$(SRCDIR)/html/html.o $(SRCDIR)/html/houdini_href_e.o $(SRCDIR)/html/houdini_html_e.o $(SRCDIR)/html/houdini_html_u.o - -CMARK_OBJ=$(SRCDIR)/inlines.o $(SRCDIR)/buffer.o $(SRCDIR)/blocks.o $(SRCDIR)/scanners.c $(SRCDIR)/print.o $(SRCDIR)/utf8.o $(SRCDIR)/references.o - -CMARK_HDR = $(SRCDIR)/cmark.h $(SRCDIR)/buffer.h $(SRCDIR)/references.h \ - $(SRCDIR)/chunk.h $(SRCDIR)/debug.h $(SRCDIR)/utf8.h \ - $(SRCDIR)/scanners.h $(SRCDIR)/inlines.h - -HTML_HDR = $(SRCDIR)/html/html_unescape.h $(SRCDIR)/html/houdini.h - -$(PROG): $(SRCDIR)/html/html_unescape.h $(SRCDIR)/case_fold_switch.inc $(HTML_OBJ) $(CMARK_OBJ) $(SRCDIR)/main.c - $(CC) $(LDFLAGS) -o $@ $(HTML_OBJ) $(CMARK_OBJ) $(SRCDIR)/main.c - -$(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re - re2c --case-insensitive -bis $< > $@ || (rm $@ && false) - - -$(SRCDIR)/html/html_unescape.h: $(SRCDIR)/html/html_unescape.gperf - gperf -I -t -N find_entity -H hash_entity -K entity -C -l - --null-strings -m5 $< > $@ - -libcommonmark.so: $(HTML_OBJ) $(CMARK_OBJ) - $(CC) $(LDFLAGS) -shared -o $@ $^ - -install: libcommonmark.so $(cmark_HDR) $(HTML_HDR) - install -d $(PREFIX)/lib $(PREFIX)/include/cmark/html - install libcommonmark.so $(PREFIX)/lib/ - install $(cmark_HDR) $(PREFIX)/include/cmark/ - install $(HTML_HDR) $(PREFIX)/include/cmark/html/ - -CMARK_HDR = $(SRCDIR)/cmark.h $(SRCDIR)/buffer.h $(SRCDIR)/references.h \ - $(SRCDIR)/chunk.h $(SRCDIR)/debug.h $(SRCDIR)/utf8.h \ - $(SRCDIR)/scanners.h $(SRCDIR)/inlines.h - -HTML_HDR = $(SRCDIR)/html/html_unescape.h $(SRCDIR)/html/houdini.h - -clean: - -rm -f test $(SRCDIR)/*.o $(SRCDIR)/scanners.c $(SRCDIR)/html/*.o libcommonmark.so - -rm -f js/commonmark.js - -rm -rf *.dSYM - -rm -f README.html - -rm -f spec.md fuzz.txt spec.html |