summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/m68k/shared/misc/Makefile.am
blob: 15748392a1ce7e9317552fae058ee5ba852e3b66 (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
##
## $Id$
##

C_FILES = memcpy.c m68kidle.c
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))

include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/../../../automake/lib.am

# gcc doesn't recognize difference between the cpu32 and cpu32+ so we have to
if mcpu32p
M68K_CPPFLAGS = -D__mcpu32p__
endif

if mcf5272
M68K_CPPFLAGS = -Dmcf5272
endif

AM_CPPFLAGS += $(M68K_CPPFLAGS)

all-local: $(OBJS)

EXTRA_DIST = memcpy.c m68kidle.c

include $(top_srcdir)/../../../automake/local.am