fix: sqrt linker error, now using -lm
This commit is contained in:
@@ -3,7 +3,7 @@ OBJ = $(SRC:.c=.o)
|
|||||||
NAME = lib_use
|
NAME = lib_use
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -Wall -Wextra -Wpedantic -Iinclude -s -Os -fno-ident -fno-asynchronous-unwind-tables
|
CFLAGS = -Wall -Wextra -Wpedantic -Iinclude -s -Os -fno-ident -fno-asynchronous-unwind-tables
|
||||||
CLIBS = ../build/libpasm.a
|
CLIBS = ../build/libpasm.a -lm
|
||||||
|
|
||||||
all: $(NAME)
|
all: $(NAME)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user