summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/i386/i386ex/timer/Makefile.am
blob: 33037ce6ed0c68a8994eb5583024036f66ee822b (plain) (tree)
1
2
3
4
5
6
7
8
9
  
       
  
 
 
                       
 

                    
                                                                                         
 
                                                           








                                                       
                                                       

                          



                                              


                                                         
##
## $Id$
##


PGM = $(ARCH)/timer.rel

C_FILES = timer.c
S_FILES = timerisr.S
timer_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))

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

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

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

# the .rel file built here will be put into libbsp.a by
# 	../wrapup/Makefile

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

.PRECIOUS: $(PGM)

EXTRA_DIST = timer.c timerisr.S

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