From 45f57c91e1341df5327c86a10064e2815158df4f Mon Sep 17 00:00:00 2001 From: tmeissner Date: Mon, 18 May 2015 17:10:13 +0200 Subject: [PATCH] added linker option for math library; added dict_use to all target --- 21st_century_c/chapter11/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/21st_century_c/chapter11/Makefile b/21st_century_c/chapter11/Makefile index a0efbee..662fbfd 100644 --- a/21st_century_c/chapter11/Makefile +++ b/21st_century_c/chapter11/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -Wall -O0 --std=c11 -g +CFLAGS = -Wall -O0 --std=c11 -g -lm simple_cplx : cplx.h complex.c simple_cplx.c @@ -15,7 +15,7 @@ dict_use : keyval.h keyval.c dict.h dict.c dict_use.c .PHONY : all -all : simple_cplx seamlessone seamlesstwo +all : simple_cplx seamlessone seamlesstwo dict_use .PHONY : check check : *.h *.c