31 lines
516 B
Makefile
Executable File
31 lines
516 B
Makefile
Executable File
|
|
##
|
|
## Makefile for Sunxi Secure Boot
|
|
##
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB := $(obj)libapp.o
|
|
|
|
COBJS-y += apps.o
|
|
COBJS-y += app_rand.o
|
|
|
|
SRCS := $(COBJS-y:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(COBJS-y))
|
|
|
|
all: $(obj).depend $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|