From 0ffed4c0e2a1b38fb5de28abaccbdf5b9f9192ed Mon Sep 17 00:00:00 2001
From: Vanshika Mohan Bongade <vb525@drexel.edu>
Date: Fri, 14 Feb 2025 21:01:52 +0000
Subject: [PATCH] Upload New File

---
 WEEK-6/makefile | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 WEEK-6/makefile

diff --git a/WEEK-6/makefile b/WEEK-6/makefile
new file mode 100644
index 0000000..498239b
--- /dev/null
+++ b/WEEK-6/makefile
@@ -0,0 +1,31 @@
+# Compiler settings
+CC = gcc
+CFLAGS = -Wall -Wextra -g
+
+# Target executable name
+TARGET = dsh
+
+# Find all source and header files
+SRCS = $(wildcard *.c)
+HDRS = $(wildcard *.h)
+
+# Default target
+all: $(TARGET)
+
+# Compile source to executable
+$(TARGET): $(SRCS) $(HDRS)
+	$(CC) $(CFLAGS) -o $(TARGET) $(SRCS)
+
+# Clean up build files
+clean:
+	rm -f $(TARGET)
+
+test:
+	bats $(wildcard ./bats/*.sh)
+
+test:
+	bats bats/assignment_tests.sh bats/student_tests.sh
+
+
+# Phony targets
+.PHONY: all clean test
\ No newline at end of file
-- 
GitLab