Makefile 229 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
CC=gcc 
NISTGCCFLAGS=-std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -O2 
LFLAGS=-lm
all: test_1 

test_1: test 

test: main.c $(SRC_FILES)
	$(CC) $(NISTGCCFLAGS) -o $@ $^ $(LFLAGS)

.PHONY: clean

clean: 
	-rm test