summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--Makefile.win8
-rw-r--r--bin/common.h (renamed from examples/common.h)0
-rw-r--r--bin/hoedown.c (renamed from examples/hoedown.c)0
-rw-r--r--bin/smartypants.c (renamed from examples/smartypants.c)0
5 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 6c808e9..7494543 100644
--- a/Makefile
+++ b/Makefile
@@ -32,10 +32,10 @@ libhoedown.a: $(HOEDOWN_SRC)
# Executables
-hoedown: examples/hoedown.o $(HOEDOWN_SRC)
+hoedown: bin/hoedown.o $(HOEDOWN_SRC)
$(CC) $(LDFLAGS) $^ -o $@
-smartypants: examples/smartypants.o $(HOEDOWN_SRC)
+smartypants: bin/smartypants.o $(HOEDOWN_SRC)
$(CC) $(LDFLAGS) $^ -o $@
# Perfect hashing
@@ -55,7 +55,7 @@ test-pl: hoedown
# Housekeeping
clean:
- $(RM) src/*.o examples/*.o
+ $(RM) src/*.o bin/*.o
$(RM) libhoedown.so libhoedown.so.1 libhoedown.a
$(RM) hoedown smartypants hoedown.exe smartypants.exe
diff --git a/Makefile.win b/Makefile.win
index a28326b..cda24b9 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -17,11 +17,11 @@ all: hoedown.dll hoedown.exe smartypants.exe
hoedown.dll: $(HOEDOWN_SRC) hoedown.def
$(CC) $(HOEDOWN_SRC) hoedown.def /link /DLL $(LDFLAGS) /out:$@
-hoedown.exe: examples\hoedown.obj $(HOEDOWN_SRC)
- $(CC) examples\hoedown.obj $(HOEDOWN_SRC) /link $(LDFLAGS) /out:$@
+hoedown.exe: bin\hoedown.obj $(HOEDOWN_SRC)
+ $(CC) bin\hoedown.obj $(HOEDOWN_SRC) /link $(LDFLAGS) /out:$@
-smartypants.exe: examples\smartypants.obj $(HOEDOWN_SRC)
- $(CC) examples\smartypants.obj $(HOEDOWN_SRC) /link $(LDFLAGS) /out:$@
+smartypants.exe: bin\smartypants.obj $(HOEDOWN_SRC)
+ $(CC) bin\smartypants.obj $(HOEDOWN_SRC) /link $(LDFLAGS) /out:$@
# Housekeeping
diff --git a/examples/common.h b/bin/common.h
index d9ace1b..d9ace1b 100644
--- a/examples/common.h
+++ b/bin/common.h
diff --git a/examples/hoedown.c b/bin/hoedown.c
index a855518..a855518 100644
--- a/examples/hoedown.c
+++ b/bin/hoedown.c
diff --git a/examples/smartypants.c b/bin/smartypants.c
index 5550157..5550157 100644
--- a/examples/smartypants.c
+++ b/bin/smartypants.c