diff --git a/01.w_Defects/Makefile.am b/01.w_Defects/Makefile.am index 4399e94..8b553d9 100644 --- a/01.w_Defects/Makefile.am +++ b/01.w_Defects/Makefile.am @@ -1,6 +1,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include AM_CFLAGS = -pthread AM_LDFLAGS = -lm +LDADD = -lm bin_PROGRAMS = 01_w_Defects 01_w_Defects_SOURCES = \ HeaderFile.h \ diff --git a/02.wo_Defects/Makefile.am b/02.wo_Defects/Makefile.am index ae07312..699e24a 100644 --- a/02.wo_Defects/Makefile.am +++ b/02.wo_Defects/Makefile.am @@ -1,6 +1,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include AM_CFLAGS = -pthread AM_LDFLAGS = -lm +LDADD = -lm bin_PROGRAMS = 02_wo_Defects 02_wo_Defects_SOURCES = \ bit_shift.c lock_never_unlock.c \