From 56a1c5b050a7d718ad8c26f8f41a89431fc0a607 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Sun, 2 Nov 2014 13:50:20 -0800 Subject: Add -fPIC to linker options. Fixes #179. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ebefce..c57e4b8 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CFLAGS?=-g -O3 -Wall -Wextra -std=c99 -Isrc -Wno-missing-field-initializers -fPIC $(OPTCFLAGS) -LDFLAGS?=-g -O3 -Wall -Werror $(OPTLDFLAGS) +LDFLAGS?=-g -O3 -Wall -Werror -fPIC $(OPTLDFLAGS) SRCDIR?=src DATADIR?=data BENCHINP?=README.md -- cgit v1.2.3 From 7385f2893f32ee34f9716e6543f6580c31e45734 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Sun, 2 Nov 2014 13:55:59 -0800 Subject: Update .gitignore and fix Makefile clean target. --- .gitignore | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a59b625..e87f271 100644 --- a/.gitignore +++ b/.gitignore @@ -29,5 +29,5 @@ scanners.c *.zip bstrlib.txt -commonmark.dSYM/* -commonmark +cmark.dSYM/* +cmark diff --git a/Makefile b/Makefile index 8ebefce..43a2be1 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ upload-site: clean: -rm -f test $(SRCDIR)/*.o $(SRCDIR)/scanners.c $(SRCDIR)/html/*.o libcmark.so - -rm js/commonmark.js + -rm -f js/commonmark.js -rm -rf *.dSYM -rm -f README.html -rm -f spec.md fuzz.txt spec.html -- cgit v1.2.3