diff options
author | the little girl <yui@blekksprut.net> | 2013-10-11 17:30:16 +0200 |
---|---|---|
committer | the little girl <yui@blekksprut.net> | 2013-10-11 17:30:16 +0200 |
commit | 0ec3fa9d81e2d43af6710c2c8299383e14e3fbe9 (patch) | |
tree | 132302d411110aab472de2beb9acbc3b6623b418 | |
parent | 274a30f7aea0383203aad08c01b06a346def8214 (diff) | |
download | ukulele-0ec3fa9d81e2d43af6710c2c8299383e14e3fbe9.tar.xz |
bake makefile
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | wiki.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,5 @@ +all: wiki.cgi + wiki.cgi: config.h wiki.c ${CC} -std=c11 -Os -o $@ wiki.c -lmarxup @@ -5,5 +7,6 @@ config.h: cp config.def.h $@ clean: - rm wiki.cgi + rm -f wiki.cgi +again: clean all @@ -37,9 +37,9 @@ void head(char *page, char *link, char *what) { printf("<title>%s ยท %s</title>\n", title, page); printf("<link rel='stylesheet' href='%s/wiki.css'>\n", base); if(link && what) - printf("<h1><a data-text='%s' href='%s' >%s</a></h1>", what, link, page); + printf("<h1><a data-text='%s' href='%s' >%s</a></h1>\n", what, link, page); else - printf("<h1>%s</h1>", page); + printf("<h1>%s</h1>\n", page); } void foot(int file) { |