summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXavier Mendez <jmendeth@gmail.com>2013-09-20 17:08:29 +0200
committerXavier Mendez <jmendeth@gmail.com>2013-09-20 17:08:29 +0200
commit546c1e1126c07295d2f73317df4b33cbf27d01ed (patch)
treeaf954fb696f1393256a566e80e6730667ec7face /Makefile
parentac22b09a919d30373f18866083175cfa9cb1681b (diff)
downloadrust-hoedown-546c1e1126c07295d2f73317df4b33cbf27d01ed.tar.gz
Remove html folder from Makefiles, correct sources
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index d340f67..17c8db8 100644
--- a/Makefile
+++ b/Makefile
@@ -19,18 +19,18 @@ DEPDIR=depends
# "Machine-dependant" options
#MFLAGS=-fPIC
-CFLAGS=-c -g -O3 -fPIC -Wall -Werror -Wsign-compare -Isrc -Ihtml
+CFLAGS=-c -g -O3 -fPIC -Wall -Werror -Wsign-compare -Isrc
LDFLAGS=-g -O3 -Wall -Werror
HOEDOWN_SRC=\
- src/markdown.o \
- src/stack.o \
- src/buffer.o \
src/autolink.o \
+ src/buffer.o \
src/escape.o \
src/html.o \
src/html_smartypants.o \
+ src/markdown.o \
+ src/stack.o
all: libhoedown.so hoedown smartypants html_blocks
@@ -64,7 +64,7 @@ test: hoedown
# housekeeping
clean:
- rm -f src/*.o html/*.o examples/*.o
+ rm -f src/*.o examples/*.o
rm -f libhoedown.so libhoedown.so.1 hoedown smartypants
rm -f hoedown.exe smartypants.exe
rm -rf $(DEPDIR)
@@ -77,7 +77,7 @@ include $(wildcard $(DEPDIR)/*.d)
# generic object compilations
-%.o: src/%.c examples/%.c html/%.c
+%.o: src/%.c examples/%.c
@mkdir -p $(DEPDIR)
@$(CC) -MM $< > $(DEPDIR)/$*.d
$(CC) $(CFLAGS) -o $@ $<