summaryrefslogtreecommitdiff
path: root/src/hw/make.mk
blob: 34d3e6ffbce3b4fa4a9de1e423421c00fe6ea9a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
DIR_HW = hw/
SOURCES_HW += $(SRC_DIR)hw/aud.c $(SRC_DIR)hw/hw.c $(SRC_DIR)hw/hw_eeprom.c \
$(SRC_DIR)hw/sdr.c
OBJECTS_HW += $(SOURCES_HW:.c=.o)
LDFLAGS += -lrtlsdr -lasound
LDFLAGS_BSD += -lrtlsdr


OBJECTS_DIR_HW += $(subst $(SRC_DIR)$(DIR_HW),$(BUILD_DIR)$(SRC_DIR)$(DIR_HW),$(OBJECTS_HW))

OBJECTS += $(OBJECTS_HW)
OBJECTS_FINAL += $(OBJECTS_DIR_HW)