summaryrefslogblamecommitdiffstats
path: root/Makefile
blob: df15d2e2591fb8083b19be604e19f9f6167c79c7 (plain) (tree)



















                                                                           
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)