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 = Phase5_Prep.c StringUtils.c
OBJECTS = Phase5_Prep.o StringUtils.o
# Uses the template structure defined in the TypicalUtils folder
all: Phase5_Prep
Phase5_Prep: $(OBJECTS)
$(CC) $(OBJECTS) -o Phase5_Prep
Phase5_Prep.o: Phase5_Prep.c
$(CC) -c Phase5_Prep.c -o Phase5_Prep.o
StringUtils.o: StringUtils.c
$(CC) -c StringUtils.c -o StringUtils.o
clean:
rm -f $(OBJECTS) Phase5_Prep Phase5_Prep.out
clean_objects:
rm -f $(OBJECTS)
run:
./Phase5_Prep
run_win:
Phase5_Prep