kopia lustrzana https://github.com/FreeSpacenav/spacenavd
we have to link libm since we're using isfinite()
rodzic
2c5a443bf5
commit
a067ab7a2d
|
@ -10,7 +10,7 @@ warn = -pedantic -Wall
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CFLAGS = $(warn) $(dbg) $(opt) -fno-strict-aliasing -fcommon \
|
CFLAGS = $(warn) $(dbg) $(opt) -fno-strict-aliasing -fcommon \
|
||||||
-I$(srcdir)/src -I/usr/local/include -MMD $(add_cflags)
|
-I$(srcdir)/src -I/usr/local/include -MMD $(add_cflags)
|
||||||
LDFLAGS = -L/usr/local/lib $(xlib) $(add_ldflags)
|
LDFLAGS = -L/usr/local/lib $(xlib) $(add_ldflags) -lm
|
||||||
|
|
||||||
$(bin): $(obj)
|
$(bin): $(obj)
|
||||||
$(CC) -o $@ $(obj) $(LDFLAGS)
|
$(CC) -o $@ $(obj) $(LDFLAGS)
|
||||||
|
|
Ładowanie…
Reference in New Issue