-
Sander Mathijs van Veen authoredSander Mathijs van Veen authored
Makefile 281 B
CFLAGS := -Wextra -Wall -Werror -g -std=c99 -D_GNU_SOURCE
LDFLAGS := -lm
progs := bisection numdiff sqrt newton_raphson
all: $(progs)
bisection: bisection.c
numdiff: numdiff.c
sqrt: sqrt.c
newton_raphson: newton_raphson.c
$(progs): CFLAGS += -DMAIN_$@
clean: ; $(RM) $(progs)