|
|
|
@ -19,11 +19,15 @@ |
|
|
|
|
#
|
|
|
|
|
include $(TOPDIR)/config.mk |
|
|
|
|
|
|
|
|
|
LIB = lib$(BOARD).a
|
|
|
|
|
LIB = $(obj)lib$(BOARD).a
|
|
|
|
|
|
|
|
|
|
OBJS := ms7750se.o
|
|
|
|
|
SOBJS := lowlevel_init.o
|
|
|
|
|
|
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
|
|
$(LIB): $(OBJS) $(SOBJS) |
|
|
|
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
|
|
|
|
|
|
|
|
@ -33,11 +37,11 @@ clean: |
|
|
|
|
distclean: clean |
|
|
|
|
rm -f $(LIB) core *.bak .depend
|
|
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
|
|
.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c) |
|
|
|
|
$(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
|
include $(SRCTREE)/rules.mk |
|
|
|
|
|
|
|
|
|
-include .depend |
|
|
|
|
sinclude $(obj).depend |
|
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
#########################################################################
|
|
|
|
|