blob: cc240a3291b71a46aa5d753d9975e86f008889a1 (
plain)
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
32
33
34
35
36
37
38
|
EXTRA_DIST =
MOSTLYCLEANFILES =
AM_CPPFLAGS = \
-pipe \
-std=gnu99 \
-imacros config.h \
-I$(top_srcdir) \
-I$(top_srcdir)/arch/$(arch)
AM_CFLAGS = \
-Wall \
-Wextra \
-Wshadow \
-Wmissing-prototypes \
-Wstrict-prototypes \
-fsigned-char \
-ffreestanding \
-fno-stack-protector
LDS_V = $(LDS_V_$(V))
LDS_V_ = $(LDS_V_$(AM_DEFAULT_VERBOSITY))
LDS_V_0 = @echo " LDS $@";
SUFFIXES = .lds .lds.S
.lds.S.lds:
$(LDS_V) $(CPP) -P $(AM_CPPFLAGS) -o $@ $<
exec_bootdir = $(exec_prefix)/boot
exec_boot_PROGRAMS = x15
x15_DEPENDENCIES = arch/$(arch)/x15.lds
MOSTLYCLEANFILES += arch/$(arch)/x15.lds
x15_SOURCES =
x15_LDFLAGS = -nostdlib -T arch/$(arch)/x15.lds
x15_LDADD = -lgcc
include Makefrag.am
|