rename project to mdp
authorMichael Göhler <somebody.here@gmx.de>
Sun, 7 Sep 2014 19:53:59 +0000 (21:53 +0200)
committerMichael Göhler <somebody.here@gmx.de>
Sun, 7 Sep 2014 19:53:59 +0000 (21:53 +0200)
Makefile
mdp.c [moved from tmp.c with 97% similarity]

index c56f247..9eb3c79 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 CFLAGS=-g -Wall
 
-tmp: tmp.c cstring.o cstack.o markdown.o parser.o viewer.o
-       cc $(CFLAGS) -o tmp tmp.c cstring.o cstack.o markdown.o parser.o viewer.o -lncurses
+mdp: mdp.c cstring.o cstack.o markdown.o parser.o viewer.o
+       cc $(CFLAGS) -o mdp mdp.c cstring.o cstack.o markdown.o parser.o viewer.o -lncurses
 
 viewer.o: viewer.c
        cc $(CFLAGS) -c viewer.c
@@ -18,10 +18,10 @@ cstack.o: cstack.c
 cstring.o: cstring.c
        cc $(CFLAGS) -c cstring.c
 
-all: tmp
+all: mdp
 
 clean:
-       rm -f tmp *.o
+       rm -f mdp *.o
 
 .PHONY: test
 
diff --git a/tmp.c b/mdp.c
similarity index 97%
rename from tmp.c
rename to mdp.c
index a806ff4..0671ab6 100644 (file)
--- a/tmp.c
+++ b/mdp.c
@@ -8,7 +8,7 @@
 #include "include/viewer.h"
 
 void usage() {
-    fprintf(stderr, "Usage: tmp [OPTION]... [FILE]\n");
+    fprintf(stderr, "Usage: mdp [OPTION]... [FILE]\n");
     fprintf(stderr, "A command-line based markdown presentation tool.\n\n");
     fprintf(stderr, "  -d, --debug   enable debug messages on STDERR\n");
     fprintf(stderr, "                add it multiple times to increases debug level\n\n");