Skip to content
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
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
Chris McCorkle
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 5910177;
}
1 change: 1 addition & 0 deletions main.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Student ID: 5910177
20 changes: 20 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
CC = gcc
DEBUG = -g
CFLAGS = -Wall -std=c99 -pedantic -c $(DEBUG)
LFLAGS = -Wall -std=c99 -pedantic -lpthread $(DEBUG)

main.out: main
./main | tee main.out

main: get_student_id.o main.o
$(CC) $(LFLAGS) get_student_id.o \
main.o -o main

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

get_student_id.o: get_student_id.c
$(CC) $(CFLAGS) get_student_id.c

clean:
\rm *.o main