1 2 3 4 5 6 7 8 9 10 11
# -*-Makefile-*- DRIVERS_DIR = libstb/drivers SUBDIRS += $(DRIVERS_DIR) DRIVERS_SRCS = romcode.c tpm_i2c_interface.c DRIVERS_OBJS = $(DRIVERS_SRCS:%.c=%.o) DRIVERS = $(DRIVERS_DIR)/built-in.o $(DRIVERS): $(DRIVERS_OBJS:%=$(DRIVERS_DIR)/%)