Good Stopping point for CS480 Prep

++ Phases 1-6 Preparation
++ C, H, Makefiles
This commit is contained in:
Charles Descamps 2024-01-06 21:56:16 -07:00
parent b861b15368
commit ca321e6c4e
19 changed files with 889 additions and 0 deletions

View file

@ -0,0 +1,28 @@
CC = gcc -Wall
SOURCES = Phase6_Prep.c StringUtils.c
OBJECTS = Phase6_Prep.o StringUtils.o
# Uses the template structure defined in the TypicalUtils folder
all: Phase6_Prep
Phase6_Prep: $(OBJECTS)
$(CC) $(OBJECTS) -o Phase6_Prep
Phase6_Prep.o: Phase6_Prep.c
$(CC) -c Phase6_Prep.c -o Phase6_Prep.o
StringUtils.o: StringUtils.c
$(CC) -c StringUtils.c -o StringUtils.o
clean:
rm -f $(OBJECTS) Phase6_Prep Phase6_Prep.out
clean_objects:
rm -f $(OBJECTS)
run:
./Phase6_Prep
run_win:
Phase6_Prep