Init of BlogGen

This commit is contained in:
Stephen Cochrane 2020-05-03 15:33:48 +02:00
parent 3cddc26a2a
commit b7fe709cdb
3 changed files with 28 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.swp
bin/
obj/

19
Makefile Normal file
View File

@ -0,0 +1,19 @@
# 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

6
src/GenBlog.c Normal file
View File

@ -0,0 +1,6 @@
#include<stdlib.h>
#include<stdio.h>
int main() {
return EXIT_SUCCESS;
}