TARGET=fcomp SRC=fcomp.c CC=gcc CFLAGS=-D_GNU_SOURCE -std=c99 -pedantic REL_FLAGS=-O3 DBG_FLAGS=-Wall -g3 make: $(CC) -o $(TARGET) $(SRC) $(CFLAGS) $(REL_FLAGS) debug: $(CC) -o $(TARGET) $(SRC) $(CFLAGS) $(DBG_FLAGS) -fsanitize=address noasan: $(CC) -o $(TARGET) $(SRC) $(CFLAGS) $(DBG_FLAGS) .PHONY: clean clean: rm -f *.o rm -f $(TARGET)