19 lines
296 B
Makefile
19 lines
296 B
Makefile
CC = gcc
|
|
CFLAGS = -std=c17 -g\
|
|
-D_POSIX_SOURCE -D_DEFAULT_SOURCE\
|
|
-Wall -Werror -pedantic\
|
|
|
|
LDLIBS = -lm
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.PHONY: all clean
|
|
|
|
all: test/test_math test/test_ann
|
|
|
|
test/test_math: test/test_math.o mymath.o
|
|
test/test_ann: test/test_ann.o ann.o mymath.o
|
|
|
|
clean:
|
|
$(RM) *.o test/*.o
|