From b79b9971471256bfb4bde919cd89ae164744eaba Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 16 Apr 2020 15:10:39 +0200 Subject: Learning BSD make --- src/jo_main.c | 8 ++++++++ src/jo_main.h | 6 ++++++ src/jo_printf.c | 8 ++++++++ src/jo_printf.h | 6 ++++++ 4 files changed, 28 insertions(+) create mode 100644 src/jo_main.c create mode 100644 src/jo_main.h create mode 100644 src/jo_printf.c create mode 100644 src/jo_printf.h (limited to 'src') diff --git a/src/jo_main.c b/src/jo_main.c new file mode 100644 index 0000000..ee3c400 --- /dev/null +++ b/src/jo_main.c @@ -0,0 +1,8 @@ +#include + +int +main(void) +{ + jo_printf(); + return (0); +} diff --git a/src/jo_main.h b/src/jo_main.h new file mode 100644 index 0000000..3a3359c --- /dev/null +++ b/src/jo_main.h @@ -0,0 +1,6 @@ +#ifndef JO_MAIN_H +#define JO_MAIN_H + +#include + +#endif diff --git a/src/jo_printf.c b/src/jo_printf.c new file mode 100644 index 0000000..facdaa1 --- /dev/null +++ b/src/jo_printf.c @@ -0,0 +1,8 @@ +#include +#include + +void +jo_printf(void) +{ + printf("Hey!\n"); +} diff --git a/src/jo_printf.h b/src/jo_printf.h new file mode 100644 index 0000000..60fdc99 --- /dev/null +++ b/src/jo_printf.h @@ -0,0 +1,6 @@ +#ifndef JO_PRINTF_H +#define JO_PRINTF_H + +void jo_printf(void); + +#endif -- cgit v1.2.3