write a portable version of endian.h, to replace the system's endian.h.

utilising GNU C standard library for some of the functionality, or GNU C
extensions.
This commit is contained in:
2025-08-29 11:46:02 +02:00
parent 8b952fb86f
commit 8a5afd6915
5 changed files with 52 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ PROF = rel
CFLAGS += -DNDEBUG -O2
endif
CFLAGS += $(shell pkg-config --cflags glfw3 libarchive) -Ilib/glad/include
CFLAGS += $(shell pkg-config --cflags glfw3 libarchive) -Iinclude -Ilib/glad/include
LDFLAGS += $(shell pkg-config --libs glfw3 libarchive) -lm
# get source files