From c19c8bc54448baad21b26691baea80466298ed36 Mon Sep 17 00:00:00 2001 From: Charles Barnwell <cxb23@drexel.edu> Date: Fri, 7 Feb 2025 00:32:02 +0000 Subject: [PATCH] Upload New File --- 1-C-Refresher/makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 1-C-Refresher/makefile diff --git a/1-C-Refresher/makefile b/1-C-Refresher/makefile new file mode 100644 index 0000000..4e73656 --- /dev/null +++ b/1-C-Refresher/makefile @@ -0,0 +1,20 @@ +# Compiler settings +CC = gcc +CFLAGS = -Wall -Wextra -g + +# Target executable name +TARGET = stringfun + +# Default target +all: $(TARGET) + +# Compile source to executable +$(TARGET): stringfun.c + $(CC) $(CFLAGS) -o $(TARGET) $^ + +# Clean up build files +clean: + rm -f $(TARGET) + +# Phony targets +.PHONY: all clean -- GitLab