diff options
| author | Ian Moffett <ian@osmora.org> | 2024-10-03 21:14:36 -0500 | 
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2024-10-03 21:14:36 -0500 | 
| commit | 3106bb3a63a4faeef318cff7dfca60baba0e8a8f (patch) | |
| tree | 08fe5d8d56b95d5e3563cda7b79a3e8313b439c1 | |
| parent | 56790e9a759238bb177d5e11d122d6411af8cb12 (diff) | |
build: Don't rely on GCC for compatibility
Signed-off-by: Ian Moffett <ian@osmora.org>
| -rw-r--r-- | Makefile | 3 | 
1 files changed, 1 insertions, 2 deletions
| @@ -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) | 
