diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-16 15:10:39 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-16 15:10:39 +0200 |
commit | b79b9971471256bfb4bde919cd89ae164744eaba (patch) | |
tree | 1346befacd6f1c9a594149cd3f4738f299f84d7d /src | |
parent | Change (diff) | |
download | lowbat-bsd-b79b9971471256bfb4bde919cd89ae164744eaba.tar.gz lowbat-bsd-b79b9971471256bfb4bde919cd89ae164744eaba.tar.bz2 lowbat-bsd-b79b9971471256bfb4bde919cd89ae164744eaba.tar.xz lowbat-bsd-b79b9971471256bfb4bde919cd89ae164744eaba.tar.zst lowbat-bsd-b79b9971471256bfb4bde919cd89ae164744eaba.zip |
Learning BSD make
Diffstat (limited to 'src')
-rw-r--r-- | src/jo_main.c | 8 | ||||
-rw-r--r-- | src/jo_main.h | 6 | ||||
-rw-r--r-- | src/jo_printf.c | 8 | ||||
-rw-r--r-- | src/jo_printf.h | 6 |
4 files changed, 28 insertions, 0 deletions
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 <jo_main.h> + +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 <jo_printf.h> + +#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 <stdio.h> +#include <jo_printf.h> + +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 |