blob: 52f08ec2902436f8cb3518bc85f8f50af7c20130 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
DIR_CORE = core/
SOURCES_CORE += $(SRC_DIR)core/math.c
OBJECTS_CORE += $(SOURCES_CORE:.c=.o)
LDFLAGS += -lm
LDFLAGS_BSD += -lm
OBJECTS_DIR_CORE += $(subst $(SRC_DIR)$(DIR_CORE),$(BUILD_DIR)$(SRC_DIR)$(DIR_CORE),$(OBJECTS_CORE))
OBJECTS += $(OBJECTS_CORE)
OBJECTS_FINAL += $(OBJECTS_DIR_CORE)
|