blob: 8e0a82e3d2527e49b2d560dbe577b3656ac7b743 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
##
## $Id$
##
VPATH = @srcdir@:@srcdir@/../../shared/comm:@srcdir@/../../shared/io
PGM = $(ARCH)/console.rel
C_FILES = uart.c console.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
noinst_HEADERS = uart.h
console_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../../../automake/lib.am
#
# (OPTIONAL) Add local stuff here using +=
#
$(PGM): $(console_rel_OBJECTS)
$(make-rel)
all: $(ARCH) $(console_rel_OBJECTS) $(PGM)
.PRECIOUS: $(PGM)
include $(top_srcdir)/../../../../automake/local.am
|