Skip to content
Snippets Groups Projects
Select Git revision
  • 507c456057dba3bdaa9cfd39afd81e13e286b490
  • main default protected
2 results

Makefile

Blame
  • Makefile 225 B
    CC := gcc
    CFLAGS := -std=c11 -Wall -Wextra -fsanitize=address -fsanitize=leak -g
    SRC = $(wildcard *.c)
    
    
    all: exec
    
    main: ${SRC}
    	${CC} ${CFLAGS} ${SRC} -o $@
    
    exec: main
    	./main
    
    .PHONY: clean
    
    clean:
    	rm -rf *.o main a.out