From c9da23c2ee3c10665ffd0d01c1a597c61bb0a3c1 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Fri, 29 May 2015 21:12:28 +0900 Subject: [PATCH] add -lm --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c2b5dcd..29bfd909 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ debug: CFLAGS += -O0 -g -DDEBUG=1 debug: bin/picrin bin/picrin: $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a - $(CC) $(CFLAGS) -o $@ $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a + $(CC) $(CFLAGS) -o $@ $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a -lm src/load_piclib.c: $(PICRIN_LIBS) $(CONTRIB_LIBS) perl etc/mkloader.pl $(PICRIN_LIBS) $(CONTRIB_LIBS) > $@