Compare commits

...

2 Commits

Author SHA1 Message Date
Andre
684a21d23f makefile added 2025-10-14 19:05:20 +02:00
Andre
7feb3a7922 Module message.c added 2025-10-14 18:43:30 +02:00
3 changed files with 19 additions and 0 deletions

View File

@ -1,6 +1,10 @@
#include <stdio.h>
extern void message();
int main()
{
printf("\nHello World!\n");
message();
}

9
makefile Normal file
View File

@ -0,0 +1,9 @@
hello.exe: hello.o message.o
gcc hello.o message.o -o hello.exe
hello.o: hello.c
message.o: message.c

6
message.c Normal file
View File

@ -0,0 +1,6 @@
#include <stdio.h>
void message()
{
puts("Hi folk\n");
}