diff --git a/1-C-Refresher/makefile b/1-C-Refresher/makefile new file mode 100644 index 0000000000000000000000000000000000000000..4e7365657a6cd37bf005c1a0b732c343529cd021 --- /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