skiqqy.xyz/Makefile

20 lines
216 B
Makefile
Raw Normal View History

2020-05-03 13:33:48 +00:00
# Makefile for blog
CC=gcc
FLAGS=-Wall -pedantic
EXE=bin/GenBlog
all: install
$(CC) $(FLAGS) src/GenBlog.c -o $(EXE)
install:
mkdir -p bin
mkdir -p obj
clean:
rm -rf obj
rm -rf bin
blog: all
./bin/GenBlog