diff options
author | Ren Kararou <[email protected]> | 2025-01-31 01:34:25 -0600 |
---|---|---|
committer | Ren Kararou <[email protected]> | 2025-01-31 01:34:25 -0600 |
commit | 7f6011bc44e0d7643b3f1eafefbd4fa1390c1661 (patch) | |
tree | a2e6980561800fc70ad36642ebd19eccf5ff343a /makefile | |
parent | 46ac53232eaec4c9e52ba42524c9a749090d963f (diff) | |
download | libspicy-7f6011bc44e0d7643b3f1eafefbd4fa1390c1661.tar.gz libspicy-7f6011bc44e0d7643b3f1eafefbd4fa1390c1661.tar.bz2 libspicy-7f6011bc44e0d7643b3f1eafefbd4fa1390c1661.zip |
implement the easy parts of resizable array
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 |