mirror of
https://github.com/skiqqy/skiqqy.github.io
synced 2025-03-11 07:07:46 +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
|
||||
EXE=bin/GenBlog
|
||||
|
||||
all: install
|
||||
all: comp blog build
|
||||
|
||||
comp: install
|
||||
$(CC) $(FLAGS) src/GenBlog.c -o $(EXE)
|
||||
|
||||
debug: install
|
||||
@ -12,16 +14,17 @@ debug: install
|
||||
|
||||
install:
|
||||
mkdir -p bin
|
||||
mkdir -p obj
|
||||
mkdir -p blogs
|
||||
|
||||
clean:
|
||||
rm -rf blogs/*.html
|
||||
rm -rf ./blogs.html
|
||||
rm -rf obj
|
||||
rm -rf bin
|
||||
|
||||
blog: clean all
|
||||
build:
|
||||
./build.sh
|
||||
|
||||
blog: comp
|
||||
@# Reset all blogs to start build.
|
||||
@# Setup boilerplate html files for blog files
|
||||
-@for blog in ./blogs/RawBlogs/*.blog ; do \
|
||||
|
Loading…
Reference in New Issue
Block a user