From: Michael Göhler Date: Sun, 7 Sep 2014 19:53:59 +0000 (+0200) Subject: rename project to mdp X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=ba4e2eda316700ba429389d25dd2d2239fc91355;p=smdp.git rename project to mdp --- diff --git a/Makefile b/Makefile index c56f247..9eb3c79 100644 --- 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 --- 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");