sync
This commit is contained in:
File diff suppressed because one or more lines are too long
21
C_07/playlist.html
Normal file
21
C_07/playlist.html
Normal file
File diff suppressed because one or more lines are too long
21
C_08/playlist.html
Normal file
21
C_08/playlist.html
Normal file
File diff suppressed because one or more lines are too long
23
C_09/Makefile
Normal file
23
C_09/Makefile
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 Guy Baconniere.
|
||||||
|
#
|
||||||
|
## How to use this Makefile
|
||||||
|
#
|
||||||
|
# cd git
|
||||||
|
# mkdir ex00
|
||||||
|
# cd ex00
|
||||||
|
# make -f ../../Makefile ex00
|
||||||
|
#
|
||||||
|
|
||||||
|
clone:
|
||||||
|
@git clone git@vogsphere.42lausanne.ch:vogsphere/intra-uuid-8c6298c5-3398-4408-8f72-f127b4ef29de-3736152 git
|
||||||
|
|
||||||
|
cc:
|
||||||
|
@norminette -R CheckForbiddenSourceHeader
|
||||||
|
@gcc -Wall -Wextra -Werror -o a.out *.c
|
||||||
|
@./a.out
|
||||||
|
@rm -f a.out
|
||||||
|
|
||||||
|
all: clone
|
||||||
|
|
||||||
BIN
C_09/fr.subject.pdf
Normal file
BIN
C_09/fr.subject.pdf
Normal file
Binary file not shown.
21
C_09/git/ex00/ft.h
Normal file
21
C_09/git/ex00/ft.h
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
/* ************************************************************************** */
|
||||||
|
/* */
|
||||||
|
/* ::: :::::::: */
|
||||||
|
/* ft.h :+: :+: :+: */
|
||||||
|
/* +:+ +:+ +:+ */
|
||||||
|
/* By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ */
|
||||||
|
/* +#+#+#+#+#+ +#+ */
|
||||||
|
/* Created: 2021/08/20 10:17:09 by gbaconni #+# #+# */
|
||||||
|
/* Updated: 2021/08/20 12:05:50 by gbaconni ### ########.fr */
|
||||||
|
/* */
|
||||||
|
/* ************************************************************************** */
|
||||||
|
#ifndef FT_H
|
||||||
|
# define FT_H
|
||||||
|
|
||||||
|
void ft_putchar(char c);
|
||||||
|
void ft_swap(int *a, int *b);
|
||||||
|
void ft_putstr(char *str);
|
||||||
|
int ft_strlen(char *str);
|
||||||
|
int ft_strcmp(char *s1, char *s2);
|
||||||
|
|
||||||
|
#endif
|
||||||
19
C_09/git/ex00/main.c
Normal file
19
C_09/git/ex00/main.c
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/* ************************************************************************** */
|
||||||
|
/* */
|
||||||
|
/* ::: :::::::: */
|
||||||
|
/* main.c :+: :+: :+: */
|
||||||
|
/* +:+ +:+ +:+ */
|
||||||
|
/* By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ */
|
||||||
|
/* +#+#+#+#+#+ +#+ */
|
||||||
|
/* Created: 2021/08/20 10:26:50 by gbaconni #+# #+# */
|
||||||
|
/* Updated: 2021/08/20 10:34:14 by gbaconni ### ########.fr */
|
||||||
|
/* */
|
||||||
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
#include "ft.h"
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
(void) argc;
|
||||||
|
(void) argv;
|
||||||
|
}
|
||||||
8
C_09/git/ex00/main.sh
Executable file
8
C_09/git/ex00/main.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
#norminette -R CheckForbiddenSourceHeader ft_*.c
|
||||||
|
norminette -R CheckDefine -R CheckForbiddenSourceHeader *.c
|
||||||
|
gcc -Wall -Wextra -Werror -o a.out *.c
|
||||||
|
echo $(basename $PWD):
|
||||||
|
./a.out
|
||||||
|
rm -f a.out
|
||||||
21
C_09/playlist.html
Normal file
21
C_09/playlist.html
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user