| # |
| # 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 |
| |
| ######################################################################### |