diff options
author | FreeArtMan <dos21h@gmail.com> | 2016-05-08 16:02:01 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2016-05-08 16:02:01 +0100 |
commit | e42911405c4bc2f8c097f47d4598baf8522ef3da (patch) | |
tree | 9eb767c5e6a4443e8773b18ea76cf4216f6c8758 /src/core/make.mk | |
parent | 9b95088bddcf1f83e3a8f73f08f49b38ecb0f500 (diff) | |
download | radiola-e42911405c4bc2f8c097f47d4598baf8522ef3da.tar.gz radiola-e42911405c4bc2f8c097f47d4598baf8522ef3da.zip |
Diffstat (limited to 'src/core/make.mk')
-rw-r--r-- | src/core/make.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/make.mk b/src/core/make.mk new file mode 100644 index 0000000..52f08ec --- /dev/null +++ b/src/core/make.mk @@ -0,0 +1,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)
\ No newline at end of file |