Skip to content
Snippets Groups Projects
Select Git revision
  • c81d16c224456db52b897da7e90804eefeb94d42
  • master default protected
2 results

makefile

Blame
  • makefile 218 B
    CC:=gcc
    CFLAGS:=-g -O3 -Wall -Wextra -pedantic -fsanitize=address -fsanitize=leak
    LDFLAGS:=-lm -lSDL2
    NAME:=ex03
    
    $(NAME): ex03.o
    	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) 
    
    clean:
    	rm -f *.o $(NAME)
    
    rebuild: clean $(NAME)