summaryrefslogtreecommitdiff
path: root/core/make.mk
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-12-30 19:20:20 +0000
committerFreeArtMan <dos21h@gmail.com>2015-12-30 19:20:20 +0000
commita9d66c6a759515c7061e2e8aac661eeb0082ea1e (patch)
treeda0bfb62d614fcad482cc5267f0a4348cbde5256 /core/make.mk
parent03a2ac933087722b3754f5eca349b26193e9bffd (diff)
downloadradiola-a9d66c6a759515c7061e2e8aac661eeb0082ea1e.tar.gz
radiola-a9d66c6a759515c7061e2e8aac661eeb0082ea1e.zip
More configurable sources. Move some math functions to core/math.h. Move delay filter from sdr_fm
Diffstat (limited to 'core/make.mk')
-rw-r--r--core/make.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/make.mk b/core/make.mk
new file mode 100644
index 0000000..a1fe655
--- /dev/null
+++ b/core/make.mk
@@ -0,0 +1,11 @@
+DIR_CORE = core/
+SOURCES_CORE += core/math.c
+OBJECTS_CORE += $(SOURCES_CORE:.c=.o)
+LDFLAGS += -lm
+LDFLAGS_BSD += -lm
+
+
+OBJECTS_DIR_CORE += $(subst $(DIR_CORE),$(BUILD_DIR)$(DIR_CORE),$(OBJECTS_CORE))
+
+OBJECTS += $(OBJECTS_CORE)
+OBJECTS_FINAL += $(OBJECTS_DIR_CORE) \ No newline at end of file