Compare commits
2 Commits
efbedff59a
...
684a21d23f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
684a21d23f | ||
![]() |
7feb3a7922 |
4
hello.c
4
hello.c
@ -1,6 +1,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
extern void message();
|
||||||
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
printf("\nHello World!\n");
|
printf("\nHello World!\n");
|
||||||
|
message();
|
||||||
}
|
}
|
||||||
|
9
makefile
Normal file
9
makefile
Normal 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
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user