summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/a29k/timer/Makefile.am
blob: 532c99fb72b570036b80f9c916e912d9aa1d5e84 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
  
       
  
 
 
                       





                                                
                   

                                                 
                                                        





                                                    
               





                                 
                                        

                                                      
##
## $Id$
##


PGM = $(ARCH)/timer.rel

# NOTE: timerisr is normally an assembly file!!!

C_FILES = timer.c timerisr.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)

OBJS = $(C_O_FILES)

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../automake/compile.am
include $(top_srcdir)/../../../../../automake/lib.am

#
# (OPTIONAL) Add local stuff here using +=
#

$(PGM): $(OBJS)
	$(make-rel)

all-local: $(ARCH) $(OBJS) $(PGM)

.PRECIOUS: $(PGM)

EXTRA_DIST = Makefile timer.c timerisr.c

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