summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/m68k/shared/misc/Makefile.am
blob: 969b2270cc657ebebbf5b3f19100f3a3eb6281d7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




       
                             
                                         
 

                                                  


                                                                             
                             

     




                               
 

                          
                                
 
                                                
##
## $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: $(ARCH) $(OBJS)

EXTRA_DIST = memcpy.c m68kidle.c

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