Compare commits
No commits in common. "with_make" and "main" have entirely different histories.
4
hello.c
4
hello.c
@ -1,10 +1,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
extern void message();
|
|
||||||
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
printf("\nHello World!\n");
|
printf("\nHello World!\n");
|
||||||
message();
|
|
||||||
}
|
}
|
||||||
|
9
makefile
9
makefile
@ -1,9 +0,0 @@
|
|||||||
|
|
||||||
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