add -lm
This commit is contained in:
parent
ab9c33fc22
commit
c9da23c2ee
2
Makefile
2
Makefile
|
@ -38,7 +38,7 @@ debug: CFLAGS += -O0 -g -DDEBUG=1
|
||||||
debug: bin/picrin
|
debug: bin/picrin
|
||||||
|
|
||||||
bin/picrin: $(PICRIN_OBJS) $(CONTRIB_OBJS) lib/libbenz.a
|
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)
|
src/load_piclib.c: $(PICRIN_LIBS) $(CONTRIB_LIBS)
|
||||||
perl etc/mkloader.pl $(PICRIN_LIBS) $(CONTRIB_LIBS) > $@
|
perl etc/mkloader.pl $(PICRIN_LIBS) $(CONTRIB_LIBS) > $@
|
||||||
|
|
Loading…
Reference in New Issue