summaryrefslogtreecommitdiff
path: root/hw/make.mk
blob: 67860a2d62e9a084dcd44425e821656b370ba713 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
DIR_HW = hw/
SOURCES_HW += hw/aud.c hw/hw.c hw/hw_eeprom.c hw/sdr.c
OBJECTS_HW += $(SOURCES_HW:.c=.o)
LDFLAGS += -lrtlsdr -lasound


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

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