summaryrefslogtreecommitdiff
path: root/hw/make.mk
diff options
context:
space:
mode:
authorFreeArtMan <=>2015-09-22 20:16:47 +0100
committerFreeArtMan <=>2015-09-22 20:16:47 +0100
commitfa74c1448e236995a34d767a6e76c3055698fb60 (patch)
tree0ec6553d3c73112e0ea458c22c614ed10f5b2246 /hw/make.mk
parent8adda9187304d8f06f907bfebc93e47207fa4796 (diff)
downloadradiola-fa74c1448e236995a34d767a6e76c3055698fb60.tar.gz
radiola-fa74c1448e236995a34d767a6e76c3055698fb60.zip
Wrapped rtlsdr to hw
Diffstat (limited to 'hw/make.mk')
-rw-r--r--hw/make.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/make.mk b/hw/make.mk
new file mode 100644
index 0000000..534a7f5
--- /dev/null
+++ b/hw/make.mk
@@ -0,0 +1,10 @@
+DIR_HW = hw/
+SOURCES_HW += hw/hw.c
+OBJECTS_HW += $(SOURCES_HW:.c=.o)
+LDFLAGS += -lrtlsdr
+
+
+OBJECTS_DIR_HW += $(subst $(DIR_HW),$(BUILD_DIR)$(DIR_HW),$(OBJECTS_HW))
+
+OBJECTS += $(OBJECTS_HW)
+OBJECTS_FINAL += $(OBJECTS_DIR_HW) \ No newline at end of file