Add build system and boilerplate

FossilOrigin-Name: f4f7ec59913f58beff7b54b86e3ea84fb45b1bfd6950719adef3975e71c610a5
This commit is contained in:
Jonathan Schleifer 2022-12-25 14:47:04 +00:00
parent f456a2b790
commit 6ae5b43b5a
15 changed files with 5287 additions and 0 deletions

19
src/Makefile Normal file
View file

@ -0,0 +1,19 @@
include ../extra.mk
SUBDIRS = exceptions
SHARED_LIB = ${OBJ3DENGINE_SHARED_LIB}
STATIC_LIB = ${OBJ3DENGINE_STATIC_LIB}
FRAMEWORK = ${OBJ3DENGINE_FRAMEWORK}
LIB_MAJOR = ${OBJ3DENGINE_LIB_MAJOR}
LIB_MINOR = ${OBJ3DENGINE_LIB_MINOR}
INCLUDES := ${SRCS:.m=.h}
OBJS_EXTRA = ${EXCEPTIONS_EXCEPTIONS_A}
LIB_OBJS_EXTRA = ${EXCEPTIONS_EXCEPTIONS_LIB_A}
include ../buildsys.mk
CPPFLAGS += -I. -Iexceptions
LD = ${OBJC}

10
src/exceptions/Makefile Normal file
View file

@ -0,0 +1,10 @@
include ../../extra.mk
STATIC_PIC_LIB_NOINST = ${EXCEPTIONS_LIB_A}
STATIC_LIB_NOINST = ${EXCEPTIONS_A}
INCLUDES = ${SRCS:.m=.h}
include ../../buildsys.mk
CPPFLAGS += -I. -I..