summaryrefslogtreecommitdiff
path: root/hw/make.mk
diff options
context:
space:
mode:
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