forked from Imagelibrary/rtems
* clock/Makefile.am: Use .$(OBJEXT) instead of .o. * timer/Makefile.am: Use .$(OBJEXT) instead of .o.
33 lines
579 B
Makefile
33 lines
579 B
Makefile
##
|
|
## $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)/%.$(OBJEXT))
|
|
|
|
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
|