mirror of
https://github.com/skiqqy/skiqqy.github.io
synced 2025-01-18 13:00:44 +00:00
Tidy up
This commit is contained in:
parent
d68aa4baa6
commit
5f3b8d6a2d
11
Makefile
11
Makefile
@ -4,7 +4,9 @@ CC=gcc
|
|||||||
FLAGS=-Wall -pedantic
|
FLAGS=-Wall -pedantic
|
||||||
EXE=bin/GenBlog
|
EXE=bin/GenBlog
|
||||||
|
|
||||||
all: install
|
all: comp blog build
|
||||||
|
|
||||||
|
comp: install
|
||||||
$(CC) $(FLAGS) src/GenBlog.c -o $(EXE)
|
$(CC) $(FLAGS) src/GenBlog.c -o $(EXE)
|
||||||
|
|
||||||
debug: install
|
debug: install
|
||||||
@ -12,16 +14,17 @@ debug: install
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
mkdir -p obj
|
|
||||||
mkdir -p blogs
|
mkdir -p blogs
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf blogs/*.html
|
rm -rf blogs/*.html
|
||||||
rm -rf ./blogs.html
|
rm -rf ./blogs.html
|
||||||
rm -rf obj
|
|
||||||
rm -rf bin
|
rm -rf bin
|
||||||
|
|
||||||
blog: clean all
|
build:
|
||||||
|
./build.sh
|
||||||
|
|
||||||
|
blog: comp
|
||||||
@# Reset all blogs to start build.
|
@# Reset all blogs to start build.
|
||||||
@# Setup boilerplate html files for blog files
|
@# Setup boilerplate html files for blog files
|
||||||
-@for blog in ./blogs/RawBlogs/*.blog ; do \
|
-@for blog in ./blogs/RawBlogs/*.blog ; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user