sgl
diff tests/tests-makefile @ 41:f4ea3a88b05a
macos build fixes. Patch by Andrew Woods
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 25 Jan 2025 22:26:40 +0200 |
parents | 505915b0f3da |
children |
line diff
1.1 --- a/tests/tests-makefile Thu Jun 28 03:42:26 2012 +0300 1.2 +++ b/tests/tests-makefile Sat Jan 25 22:26:40 2025 +0200 1.3 @@ -18,6 +18,10 @@ 1.4 CFLAGS = -pedantic -Wall -g -I$(sgldir)/include 1.5 LDFLAGS = -L. $(rpath) -lsgl $(libgl) -lm 1.6 1.7 +ifeq ($(shell uname -s), Darwin) 1.8 + CFLAGS += -DGL_SILENCE_DEPRECATION 1.9 +endif 1.10 + 1.11 $(bin): $(obj) $(libsgl) 1.12 $(CC) -o $@ $(obj) $(LDFLAGS) 1.13