diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/makefile b/makefile index 8ac6378..9eb0e07 100644 --- a/makefile +++ b/makefile @@ -1,11 +1,10 @@ CC:=clang AR:=llvm-ar CFLAGS:=-march=native -O3 -funroll-loops -Wall -Wextra -Werror -fPIC -LDFLAGS:=-flto=thin -lpthread +LDFLAGS:=-flto=thin ifeq ($(shell uname),SunOS) CC = gcc -LDFLAGS += -lsocket CFLAGS += -std=gnu11 else CFLAGS += -std=c11 @@ -13,7 +12,7 @@ endif INCLUDES=-Iinc/ -OBJECTS=obj/salloc.o obj/arena.o +OBJECTS=obj/salloc.o obj/arena.o obj/resarr.o .PHONY: all all: build/lib/libspicy.so build/lib/static/libspicy.a includes |