From 3106bb3a63a4faeef318cff7dfca60baba0e8a8f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 3 Oct 2024 21:14:36 -0500 Subject: build: Don't rely on GCC for compatibility Signed-off-by: Ian Moffett --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7b93c45..deebcc6 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ CFILES_OTLIB = $(shell find lib/ -name "*.c") CFLAGS_OTLIB = -pedantic -Ilib/include/ -fPIC OTLIB_OBJ = $(CFILES_OTLIB:.c=.o) -CC = gcc libostp.so: $(OTLIB_OBJ) - gcc -shared -o $@ $(OTLIB_OBJ) + $(CC) -shared -o $@ $(OTLIB_OBJ) %.o: %.c mkdir -p $(@D) -- cgit v1.2.3