From 7f6011bc44e0d7643b3f1eafefbd4fa1390c1661 Mon Sep 17 00:00:00 2001 From: Ren Kararou Date: Fri, 31 Jan 2025 01:34:25 -0600 Subject: implement the easy parts of resizable array --- makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'makefile') 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 -- cgit 1.4.1-2-gfad0