added more code
This commit is contained in:
7
CPE455/day8/Makefile
Normal file
7
CPE455/day8/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall
|
||||
|
||||
hello: helloworld.o hellofunction.o
|
||||
$(CC) $(CFLAGS) helloworld.o hellofunction.o -o hello
|
||||
|
||||
hellorun.o: hello
|
1
CPE455/day8/hellofunction.c
Normal file
1
CPE455/day8/hellofunction.c
Normal file
@ -0,0 +1 @@
|
||||
void greetMe(void);
|
3
CPE455/day8/hellorun.c
Normal file
3
CPE455/day8/hellorun.c
Normal file
@ -0,0 +1,3 @@
|
||||
int main(){
|
||||
greetMe();
|
||||
}
|
3
CPE455/day8/helloworld.c
Normal file
3
CPE455/day8/helloworld.c
Normal file
@ -0,0 +1,3 @@
|
||||
void greetMe(){
|
||||
printf("Hello, World!/n");
|
||||
}
|
Reference in New Issue
Block a user