Skip to content

Commit

Permalink
feat: Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinetos committed Sep 28, 2020
0 parents commit 0f93cff
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* valentin.chassignol
* lise.giraud
* matthieu.baronnet
* gauthier.marchetti
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
OBJS = main.o
SOURCE = main.c
HEADER =
OUT = CText
CC = gcc
FLAGS = -g -c -Wall -Wextra -Wshadow -Wdouble-promotion -Wformat=2 -Wformat-truncation -Wformat-overflow -Wundef -fno-common -Wconversion -Wunused-parameter
LFLAGS =

all: $(OBJS)
$(CC) -g $(OBJS) -o $(OUT) $(LFLAGS)

main.o: main.c
$(CC) $(FLAGS) main.c -std=c99


clean:
rm -f $(OBJS) $(OUT)

run: $(OUT)
./$(OUT)

3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CText

This is a school project.
6 changes: 6 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <stdio.h>

int main() {
printf("Hello, world\n");
return 0;
}

0 comments on commit 0f93cff

Please sign in to comment.