1
0
This repository has been archived on 2024-07-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2022-11-27 10:16:14 +00:00

41 lines
916 B
Makefile

#
# Copyright Codito Technologies (www.codito.com)
#
# board/aa3/Makefile
#
# Copyright (C)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# Authors : Sandeep Patil (sandeep.patil@codito.com)
# Pradeep Sawlani (pradeep.sawlani@codito.com)
#
include $(TOPDIR)/config.mk
LIB = lib$(BOARD).a
OBJS := aa3.o arc_emac.o serial.o ide.o arc_pgu.o
SOBJS :=
$(LIB): $(OBJS) $(SOBJS)
$(AR) crv $@ $(OBJS) $(SOBJS)
clean:
rm -f $(SOBJS) $(OBJS)
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) > $@
-include .depend
#########################################################################