Skip to content
Snippets Groups Projects
Select Git revision
  • 391ee16cec6f4e7c1b14df6adb0aecf5159fe1d5
  • main default
2 results

dsh_cli.c

Blame
  • makefile NaN GiB
    # 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