Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Madrid Final #134

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
CC=gcc

all: main.out

main.out: main.o get_student_id.o
$(CC) -o main main.o get_student_id.o
./main | tee main.out

main.o: main.c
$(CC) -c main.c

get_student_id.o: get_student_id.c get_student_id.h
$(CC) -c get_student_id.c get_student_id.h

clean:
rm -f *.o main main.out
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CS305_FINAL
Contributors:
Tayyaba Shaheen
ADD YOUR NAME HERE
Patricia Madrid
2 changes: 1 addition & 1 deletion get_student_id.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
int get_student_id(void){
return 3331212;
return 6167290;
}
1 change: 1 addition & 0 deletions main.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Student ID: 6167290